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 KeyspaceMetadataAuthKeyspace. metadata()Methods in org.apache.cassandra.auth with parameters of type KeyspaceMetadata Modifier and Type Method Description voidAuthSchemaChangeListener. 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 KeyspaceMetadataAlterTableStatement.AlterColumn. apply(KeyspaceMetadata keyspace, TableMetadata table)Methods in org.apache.cassandra.cql3.statements.schema with parameters of type KeyspaceMetadata Modifier and Type Method Description KeyspaceMetadataAlterTableStatement.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 KeyspaceMetadataKeyspace. getMetadata()static KeyspaceMetadataSystemKeyspace. metadata()Methods in org.apache.cassandra.db with parameters of type KeyspaceMetadata Modifier and Type Method Description static java.lang.StringSchemaCQLHelper. getTableMetadataAsCQL(TableMetadata metadata, KeyspaceMetadata keyspaceMetadata)Build a CQL String representation of Column Family Metadata.static KeyspaceKeyspace. mockKS(KeyspaceMetadata metadata)static java.util.stream.Stream<java.lang.String>SchemaCQLHelper. reCreateStatementsForSchemaCql(TableMetadata metadata, KeyspaceMetadata keyspaceMetadata)Generates the DDL statement for aschema.cqlsnapshot file.voidKeyspace. 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 KeyspaceMetadataVirtualKeyspaceRegistry. getKeyspaceMetadataNullable(java.lang.String name)KeyspaceMetadataVirtualKeyspace. 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 KeyspaceMetadataKeyspaceMetadata.KeyspaceDiff. afterKeyspaceMetadataKeyspaceMetadata.KeyspaceDiff. beforeMethods in org.apache.cassandra.schema that return KeyspaceMetadata Modifier and Type Method Description static KeyspaceMetadataKeyspaceMetadata. create(java.lang.String name, KeyspaceParams params)static KeyspaceMetadataKeyspaceMetadata. create(java.lang.String name, KeyspaceParams params, Tables tables)static KeyspaceMetadataKeyspaceMetadata. create(java.lang.String name, KeyspaceParams params, Tables tables, Views views, Types types, Functions functions)KeyspaceMetadataKeyspaceMetadata. empty()KeyspaceMetadataSchema. getKeyspaceMetadata(java.lang.String keyspaceName)Get metadata about keyspace by its nameKeyspaceMetadataSchemaProvider. getKeyspaceMetadata(java.lang.String keyspaceName)KeyspaceMetadataKeyspaces. getNullable(java.lang.String name)static KeyspaceMetadataSchemaKeyspace. metadata()static KeyspaceMetadataSystemDistributedKeyspace. metadata()static KeyspaceMetadataKeyspaceMetadata. virtual(java.lang.String name, Tables tables)KeyspaceMetadataKeyspaceMetadata. withSwapped(Functions functions)KeyspaceMetadataKeyspaceMetadata. withSwapped(KeyspaceParams params)KeyspaceMetadataKeyspaceMetadata. withSwapped(Tables regular)KeyspaceMetadataKeyspaceMetadata. withSwapped(Types types)KeyspaceMetadataKeyspaceMetadata. withSwapped(Views views)KeyspaceMetadataKeyspaceMetadata. 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.BuilderKeyspaces.Builder. add(KeyspaceMetadata keyspace)Keyspaces.BuilderKeyspaces.Builder. add(KeyspaceMetadata... keyspaces)static SchemaTransformationSchemaTransformations. addKeyspace(KeyspaceMetadata keyspace, boolean ignoreIfExists)Creates a schema transformation that adds the provided keyspace.voidSchemaChangeNotifier. notifyKeyspaceCreated(KeyspaceMetadata keyspace)voidSchemaChangeNotifier. notifyKeyspaceDropped(KeyspaceMetadata keyspace, boolean dropData)static KeyspacesKeyspaces. of(KeyspaceMetadata... keyspaces)default voidSchemaChangeListener. onAlterKeyspace(KeyspaceMetadata before, KeyspaceMetadata after)default voidSchemaChangeListener. onCreateKeyspace(KeyspaceMetadata keyspace)default voidSchemaChangeListener. onDropKeyspace(KeyspaceMetadata keyspace, boolean dropData)static SchemaTransformationSchemaTransformations. updateSystemKeyspace(KeyspaceMetadata keyspace, long generation)We have a set of non-local, distributed system keyspaces, e.g.KeyspacesKeyspaces. withAddedOrReplaced(KeyspaceMetadata keyspace)KeyspacesKeyspaces. withAddedOrUpdated(KeyspaceMetadata keyspace)Method parameters in org.apache.cassandra.schema with type arguments of type KeyspaceMetadata Modifier and Type Method Description Keyspaces.BuilderKeyspaces.Builder. add(java.lang.Iterable<KeyspaceMetadata> keyspaces)KeyspacesKeyspaces. 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 KeyspaceMetadataTraceKeyspace. 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 voidServer.EventNotifier. onAlterKeyspace(KeyspaceMetadata before, KeyspaceMetadata after)voidServer.EventNotifier. onCreateKeyspace(KeyspaceMetadata keyspace)voidServer.EventNotifier. onDropKeyspace(KeyspaceMetadata keyspace, boolean dropData)
-