Uses of Class
org.apache.cassandra.schema.KeyspaceMetadata
-
-
Uses of KeyspaceMetadata in org.apache.cassandra.auth
Methods in org.apache.cassandra.auth that return KeyspaceMetadata Modifier and Type Method Description static KeyspaceMetadata
AuthKeyspace. metadata()
-
Uses of KeyspaceMetadata in org.apache.cassandra.cql3.statements
Constructor parameters in org.apache.cassandra.cql3.statements with type arguments of type KeyspaceMetadata Constructor Description Element(java.lang.String keyspace, java.lang.String name, java.util.function.BiFunction<KeyspaceMetadata,java.lang.String,java.util.stream.Stream<? extends SchemaElement>> elementsProvider)
Listing(java.util.function.Function<KeyspaceMetadata,java.util.stream.Stream<? extends SchemaElement>> elementsProvider)
-
Uses of KeyspaceMetadata in org.apache.cassandra.cql3.statements.schema
Methods in org.apache.cassandra.cql3.statements.schema that return KeyspaceMetadata Modifier and Type Method Description KeyspaceMetadata
AlterTableStatement.AlterColumn. apply(KeyspaceMetadata keyspace, TableMetadata table)
Methods in org.apache.cassandra.cql3.statements.schema with parameters of type KeyspaceMetadata Modifier and Type Method Description KeyspaceMetadata
AlterTableStatement.AlterColumn. apply(KeyspaceMetadata keyspace, TableMetadata table)
-
Uses of KeyspaceMetadata in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return KeyspaceMetadata Modifier and Type Method Description KeyspaceMetadata
Keyspace. getMetadata()
static KeyspaceMetadata
SystemKeyspace. metadata()
Methods in org.apache.cassandra.db with parameters of type KeyspaceMetadata Modifier and Type Method Description static Keyspace
Keyspace. mockKS(KeyspaceMetadata metadata)
void
Keyspace. setMetadata(KeyspaceMetadata metadata)
-
Uses of KeyspaceMetadata in org.apache.cassandra.db.virtual
Methods in org.apache.cassandra.db.virtual that return KeyspaceMetadata Modifier and Type Method Description KeyspaceMetadata
VirtualKeyspaceRegistry. getKeyspaceMetadataNullable(java.lang.String name)
KeyspaceMetadata
VirtualKeyspace. metadata()
Methods in org.apache.cassandra.db.virtual that return types with arguments of type KeyspaceMetadata Modifier and Type Method Description java.lang.Iterable<KeyspaceMetadata>
VirtualKeyspaceRegistry. virtualKeyspacesMetadata()
-
Uses of KeyspaceMetadata in org.apache.cassandra.repair
Methods in org.apache.cassandra.repair that return KeyspaceMetadata Modifier and Type Method Description static KeyspaceMetadata
SystemDistributedKeyspace. metadata()
-
Uses of KeyspaceMetadata in org.apache.cassandra.schema
Fields in org.apache.cassandra.schema declared as KeyspaceMetadata Modifier and Type Field Description KeyspaceMetadata
KeyspaceMetadata.KeyspaceDiff. after
KeyspaceMetadata
KeyspaceMetadata.KeyspaceDiff. before
Methods in org.apache.cassandra.schema that return KeyspaceMetadata Modifier and Type Method 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, Views views, Types types, Functions functions)
KeyspaceMetadata
Schema. getKeyspaceMetadata(java.lang.String keyspaceName)
Get metadata about keyspace by its nameKeyspaceMetadata
SchemaProvider. getKeyspaceMetadata(java.lang.String keyspaceName)
KeyspaceMetadata
Keyspaces. getNullable(java.lang.String name)
static KeyspaceMetadata
Schema. getSystemKeyspaceMetadata()
static KeyspaceMetadata
KeyspaceMetadata. virtual(java.lang.String name, Tables tables)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(Functions functions)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(KeyspaceParams params)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(Tables regular)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(Types types)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(Views views)
KeyspaceMetadata
KeyspaceMetadata. withUpdatedUserType(UserType udt)
Returns a new KeyspaceMetadata with all instances of old UDT replaced with the updated version.Methods in org.apache.cassandra.schema that return types with arguments of type KeyspaceMetadata Modifier and Type Method Description java.util.Optional<KeyspaceMetadata>
Keyspaces. get(java.lang.String name)
Get the keyspace with the specified namejava.util.Iterator<KeyspaceMetadata>
Keyspaces. iterator()
java.util.stream.Stream<KeyspaceMetadata>
Keyspaces. stream()
Methods in org.apache.cassandra.schema with parameters of type KeyspaceMetadata Modifier and Type Method Description Keyspaces.Builder
Keyspaces.Builder. add(KeyspaceMetadata keyspace)
Keyspaces.Builder
Keyspaces.Builder. add(KeyspaceMetadata... keyspaces)
static void
MigrationManager. announceNewKeyspace(KeyspaceMetadata ksm)
static void
MigrationManager. announceNewKeyspace(KeyspaceMetadata ksm, boolean announceLocally)
static void
MigrationManager. announceNewKeyspace(KeyspaceMetadata ksm, long timestamp, boolean announceLocally)
static java.util.Optional<Mutation>
MigrationManager. evolveSystemKeyspace(KeyspaceMetadata keyspace, long generation)
We have a set of non-local, distributed system keyspaces, e.g.void
Schema. load(KeyspaceMetadata ksm)
Update (or insert) new keyspace definitionstatic Keyspaces
Keyspaces. of(KeyspaceMetadata... keyspaces)
Keyspaces
Keyspaces. withAddedOrUpdated(KeyspaceMetadata keyspace)
Method parameters in org.apache.cassandra.schema with type arguments of type KeyspaceMetadata Modifier and Type Method Description Keyspaces.Builder
Keyspaces.Builder. add(java.lang.Iterable<KeyspaceMetadata> keyspaces)
Keyspaces
Keyspaces. filter(java.util.function.Predicate<KeyspaceMetadata> predicate)
-
Uses of KeyspaceMetadata in org.apache.cassandra.tracing
Methods in org.apache.cassandra.tracing that return KeyspaceMetadata Modifier and Type Method Description static KeyspaceMetadata
TraceKeyspace. metadata()
-