Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
AuthKeyspace.metadata() |
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
Schema.getKSMetaData(java.lang.String keyspaceName)
Get metadata about keyspace by its name
|
Modifier and Type | Method and Description |
---|---|
void |
Schema.addKeyspace(KeyspaceMetadata ksm) |
void |
Schema.clearKeyspaceMetadata(KeyspaceMetadata ksm)
Remove keyspace definition from system
|
Schema |
Schema.load(KeyspaceMetadata keyspaceDef)
Load specific keyspace into Schema
|
void |
Schema.setKeyspaceMetadata(KeyspaceMetadata ksm)
Update (or insert) new keyspace definition
|
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.load(java.util.Collection<KeyspaceMetadata> keyspaceDefs)
Load up non-system keyspaces
|
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
Keyspace.getMetadata() |
static KeyspaceMetadata |
SystemKeyspace.metadata() |
Modifier and Type | Method and Description |
---|---|
static Keyspace |
Keyspace.mockKS(KeyspaceMetadata metadata) |
void |
Keyspace.setMetadata(KeyspaceMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
SystemDistributedKeyspace.metadata() |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params) |
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params,
Tables tables) |
static KeyspaceMetadata |
KeyspaceMetadata.create(java.lang.String name,
KeyspaceParams params,
Tables tables,
Types types,
Functions functions) |
static KeyspaceMetadata |
SchemaKeyspace.metadata() |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Functions functions) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(KeyspaceParams params) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Tables tables) |
KeyspaceMetadata |
KeyspaceMetadata.withSwapped(Types types) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<KeyspaceMetadata> |
SchemaKeyspace.readSchemaFromSystemTables() |
Modifier and Type | Method and Description |
---|---|
static Mutation |
SchemaKeyspace.dropTypeFromSchemaMutation(KeyspaceMetadata keyspace,
UserType type,
long timestamp) |
static Mutation |
SchemaKeyspace.makeCreateAggregateMutation(KeyspaceMetadata keyspace,
UDAggregate aggregate,
long timestamp) |
static Mutation |
SchemaKeyspace.makeCreateFunctionMutation(KeyspaceMetadata keyspace,
UDFunction function,
long timestamp) |
static Mutation |
SchemaKeyspace.makeCreateKeyspaceMutation(KeyspaceMetadata keyspace,
long timestamp) |
static Mutation |
SchemaKeyspace.makeCreateTableMutation(KeyspaceMetadata keyspace,
CFMetaData table,
long timestamp) |
static Mutation |
SchemaKeyspace.makeCreateTypeMutation(KeyspaceMetadata keyspace,
UserType type,
long timestamp) |
static Mutation |
SchemaKeyspace.makeDropAggregateMutation(KeyspaceMetadata keyspace,
UDAggregate aggregate,
long timestamp) |
static Mutation |
SchemaKeyspace.makeDropFunctionMutation(KeyspaceMetadata keyspace,
UDFunction function,
long timestamp) |
static Mutation |
SchemaKeyspace.makeDropKeyspaceMutation(KeyspaceMetadata keyspace,
long timestamp) |
static Mutation |
SchemaKeyspace.makeDropTableMutation(KeyspaceMetadata keyspace,
CFMetaData table,
long timestamp) |
static Mutation |
SchemaKeyspace.makeUpdateTableMutation(KeyspaceMetadata keyspace,
CFMetaData oldTable,
CFMetaData newTable,
long timestamp,
boolean fromThrift) |
Modifier and Type | Method and Description |
---|---|
static void |
MigrationManager.announceKeyspaceUpdate(KeyspaceMetadata ksm) |
static void |
MigrationManager.announceKeyspaceUpdate(KeyspaceMetadata ksm,
boolean announceLocally) |
static void |
MigrationManager.announceNewKeyspace(KeyspaceMetadata ksm) |
static void |
MigrationManager.announceNewKeyspace(KeyspaceMetadata ksm,
boolean announceLocally) |
static void |
MigrationManager.announceNewKeyspace(KeyspaceMetadata ksm,
long timestamp,
boolean announceLocally) |
void |
MigrationManager.notifyCreateKeyspace(KeyspaceMetadata ksm) |
void |
MigrationManager.notifyDropKeyspace(KeyspaceMetadata ksm) |
void |
MigrationManager.notifyUpdateKeyspace(KeyspaceMetadata ksm) |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
ThriftConversion.fromThrift(KsDef ksd,
CFMetaData... cfDefs) |
Modifier and Type | Method and Description |
---|---|
static KsDef |
ThriftConversion.toThrift(KeyspaceMetadata ksm) |
Modifier and Type | Method and Description |
---|---|
static KeyspaceMetadata |
TraceKeyspace.metadata() |
Copyright © 2015 The Apache Software Foundation