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()
Methods in org.apache.cassandra.auth with parameters of type KeyspaceMetadata Modifier and Type Method Description void
AuthSchemaChangeListener. onDropKeyspace(KeyspaceMetadata keyspace, boolean dropData)
-
Uses of KeyspaceMetadata in org.apache.cassandra.cql3.selection
Methods in org.apache.cassandra.cql3.selection with parameters of type KeyspaceMetadata Modifier and Type Method Description protected AbstractType<?>
Selector.SelectorDeserializer. readType(KeyspaceMetadata keyspace, DataInputPlus in)
-
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)
KeyspaceMetadata
AlterTableStatement.MaskColumn. 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)
KeyspaceMetadata
AlterTableStatement.MaskColumn. 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 java.lang.String
SchemaCQLHelper. getTableMetadataAsCQL(TableMetadata metadata, KeyspaceMetadata keyspaceMetadata)
Build a CQL String representation of Column Family Metadata.static Keyspace
Keyspace. mockKS(KeyspaceMetadata metadata)
static java.util.stream.Stream<java.lang.String>
SchemaCQLHelper. reCreateStatementsForSchemaCql(TableMetadata metadata, KeyspaceMetadata keyspaceMetadata)
Generates the DDL statement for aschema.cql
snapshot file.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.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, UserFunctions functions)
KeyspaceMetadata
KeyspaceMetadata. empty()
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
SchemaKeyspace. metadata()
static KeyspaceMetadata
SystemDistributedKeyspace. metadata()
static KeyspaceMetadata
KeyspaceMetadata. virtual(java.lang.String name, Tables tables)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(KeyspaceParams params)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(Tables regular)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(Types types)
KeyspaceMetadata
KeyspaceMetadata. withSwapped(UserFunctions functions)
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 SchemaTransformation
SchemaTransformations. addKeyspace(KeyspaceMetadata keyspace, boolean ignoreIfExists)
Creates a schema transformation that adds the provided keyspace.void
SchemaChangeNotifier. notifyKeyspaceCreated(KeyspaceMetadata keyspace)
void
SchemaChangeNotifier. notifyKeyspaceDropped(KeyspaceMetadata keyspace, boolean dropData)
static Keyspaces
Keyspaces. of(KeyspaceMetadata... keyspaces)
default void
SchemaChangeListener. onAlterKeyspace(KeyspaceMetadata before, KeyspaceMetadata after)
default void
SchemaChangeListener. onCreateKeyspace(KeyspaceMetadata keyspace)
default void
SchemaChangeListener. onDropKeyspace(KeyspaceMetadata keyspace, boolean dropData)
static SchemaTransformation
SchemaTransformations. updateSystemKeyspace(KeyspaceMetadata keyspace, long generation)
We have a set of non-local, distributed system keyspaces, e.g.Keyspaces
Keyspaces. withAddedOrReplaced(KeyspaceMetadata keyspace)
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()
-
Uses of KeyspaceMetadata in org.apache.cassandra.transport
Methods in org.apache.cassandra.transport with parameters of type KeyspaceMetadata Modifier and Type Method Description void
Server.EventNotifier. onAlterKeyspace(KeyspaceMetadata before, KeyspaceMetadata after)
void
Server.EventNotifier. onCreateKeyspace(KeyspaceMetadata keyspace)
void
Server.EventNotifier. onDropKeyspace(KeyspaceMetadata keyspace, boolean dropData)
-