Modifier and Type | Method and Description |
---|---|
static KSMetaData |
AuthKeyspace.definition() |
Modifier and Type | Method and Description |
---|---|
KSMetaData |
KSMetaData.cloneWith(java.lang.Iterable<CFMetaData> tables,
UTMetaData types) |
KSMetaData |
KSMetaData.cloneWithTableAdded(CFMetaData table) |
KSMetaData |
KSMetaData.cloneWithTableRemoved(CFMetaData table) |
KSMetaData |
Schema.getKSMetaData(java.lang.String keyspaceName)
Get metadata about keyspace by its name
|
static KSMetaData |
KSMetaData.newKeyspace(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> options,
boolean durablesWrites,
java.lang.Iterable<CFMetaData> cfDefs) |
static KSMetaData |
KSMetaData.newKeyspace(java.lang.String name,
java.lang.String strategyName,
java.util.Map<java.lang.String,java.lang.String> options,
boolean durableWrites) |
static KSMetaData |
KSMetaData.testMetadata(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> strategyOptions,
CFMetaData... cfDefs) |
static KSMetaData |
KSMetaData.testMetadataNotDurable(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> strategyOptions,
CFMetaData... cfDefs) |
KSMetaData |
KSMetaData.validate() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<KSMetaData> |
Schema.getKeyspaceDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
Schema.addKeyspace(KSMetaData ksm) |
void |
Schema.clearKeyspaceDefinition(KSMetaData ksm)
Remove keyspace definition from system
|
Schema |
Schema.load(KSMetaData keyspaceDef)
Load specific keyspace into Schema
|
void |
Schema.setKeyspaceDefinition(KSMetaData ksm)
Update (or insert) new keyspace definition
|
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.load(java.util.Collection<KSMetaData> keyspaceDefs)
Load up non-system keyspaces
|
Modifier and Type | Method and Description |
---|---|
KSMetaData |
KSPropDefs.asKSMetadata(java.lang.String ksName) |
KSMetaData |
KSPropDefs.asKSMetadataUpdate(KSMetaData old) |
Modifier and Type | Method and Description |
---|---|
KSMetaData |
KSPropDefs.asKSMetadataUpdate(KSMetaData old) |
Modifier and Type | Method and Description |
---|---|
static KSMetaData |
SystemKeyspace.definition() |
KSMetaData |
Keyspace.getMetadata() |
Modifier and Type | Method and Description |
---|---|
static Keyspace |
Keyspace.mockKS(KSMetaData metadata) |
void |
Keyspace.setMetadata(KSMetaData ksm) |
Modifier and Type | Method and Description |
---|---|
static KSMetaData |
SystemDistributedKeyspace.definition() |
Modifier and Type | Method and Description |
---|---|
static KSMetaData |
LegacySchemaTables.createKeyspaceFromName(java.lang.String keyspace) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<KSMetaData> |
LegacySchemaTables.readSchemaFromSystemTables() |
Modifier and Type | Method and Description |
---|---|
static Mutation |
LegacySchemaTables.dropTypeFromSchemaMutation(KSMetaData keyspace,
UserType type,
long timestamp) |
static Mutation |
LegacySchemaTables.makeCreateAggregateMutation(KSMetaData keyspace,
UDAggregate aggregate,
long timestamp) |
static Mutation |
LegacySchemaTables.makeCreateFunctionMutation(KSMetaData keyspace,
UDFunction function,
long timestamp) |
static Mutation |
LegacySchemaTables.makeCreateKeyspaceMutation(KSMetaData keyspace,
long timestamp) |
static Mutation |
LegacySchemaTables.makeCreateTableMutation(KSMetaData keyspace,
CFMetaData table,
long timestamp) |
static Mutation |
LegacySchemaTables.makeCreateTypeMutation(KSMetaData keyspace,
UserType type,
long timestamp) |
static Mutation |
LegacySchemaTables.makeDropAggregateMutation(KSMetaData keyspace,
UDAggregate aggregate,
long timestamp) |
static Mutation |
LegacySchemaTables.makeDropFunctionMutation(KSMetaData keyspace,
UDFunction function,
long timestamp) |
static Mutation |
LegacySchemaTables.makeDropKeyspaceMutation(KSMetaData keyspace,
long timestamp) |
static Mutation |
LegacySchemaTables.makeDropTableMutation(KSMetaData keyspace,
CFMetaData table,
long timestamp) |
static Mutation |
LegacySchemaTables.makeUpdateTableMutation(KSMetaData keyspace,
CFMetaData oldTable,
CFMetaData newTable,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
static void |
MigrationManager.announceKeyspaceUpdate(KSMetaData ksm) |
static void |
MigrationManager.announceKeyspaceUpdate(KSMetaData ksm,
boolean announceLocally) |
static void |
MigrationManager.announceNewKeyspace(KSMetaData ksm) |
static void |
MigrationManager.announceNewKeyspace(KSMetaData ksm,
boolean announceLocally) |
static void |
MigrationManager.announceNewKeyspace(KSMetaData ksm,
long timestamp,
boolean announceLocally) |
void |
MigrationManager.notifyCreateKeyspace(KSMetaData ksm) |
void |
MigrationManager.notifyDropKeyspace(KSMetaData ksm) |
void |
MigrationManager.notifyUpdateKeyspace(KSMetaData ksm) |
Modifier and Type | Method and Description |
---|---|
static KSMetaData |
ThriftConversion.fromThrift(KsDef ksd,
CFMetaData... cfDefs) |
Modifier and Type | Method and Description |
---|---|
static KsDef |
ThriftConversion.toThrift(KSMetaData ksm) |
Modifier and Type | Method and Description |
---|---|
static KSMetaData |
TraceKeyspace.definition() |
Copyright © 2020 The Apache Software Foundation