Uses of Class org.apache.cassandra.schema.KeyspaceMetadata (apache-cassandra API)
Date: 2018-02-14

## Uses of Class
org.apache.cassandra.schema.KeyspaceMetadata

- Packages that use KeyspaceMetadata
  Package | Description
  --- | ---
  org.apache.cassandra.auth |
  org.apache.cassandra.config |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.db |
  org.apache.cassandra.repair |
  org.apache.cassandra.schema |
  org.apache.cassandra.service |
  org.apache.cassandra.thrift |
  org.apache.cassandra.tracing |

- - ### Uses of KeyspaceMetadata in org.apache.cassandra.auth

    Methods in org.apache.cassandra.auth that return KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `static KeyspaceMetadata` | AuthKeyspace.`metadata()`

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.config

    Methods in org.apache.cassandra.config that return KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `KeyspaceMetadata` | Schema.`getKSMetaData(java.lang.String keyspaceName)` Get metadata about keyspace by its name

    Methods in org.apache.cassandra.config with parameters of type KeyspaceMetadata
    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

    Method parameters in org.apache.cassandra.config with type arguments of type KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `Schema` | Schema.`load(java.lang.Iterable<KeyspaceMetadata> keyspaceDefs)` Load up non-system keyspaces

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.cql3.statements

    Methods in org.apache.cassandra.cql3.statements with parameters of type KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AlterTypeStatement.`checkTypeNotUsedByAggregate(KeyspaceMetadata ksm)`
    `protected abstract UserType` | AlterTypeStatement.`makeUpdatedType(UserType toUpdate, KeyspaceMetadata ksm)`

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `KeyspaceMetadata` | Keyspace.`getMetadata()`
    `static KeyspaceMetadata` | SystemKeyspace.`metadata()`

    Methods in org.apache.cassandra.db with parameters of type KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `static Keyspace` | Keyspace.`mockKS(KeyspaceMetadata metadata)`
    `void` | Keyspace.`setMetadata(KeyspaceMetadata metadata)`

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.repair

    Methods in org.apache.cassandra.repair that return KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `static KeyspaceMetadata` | SystemDistributedKeyspace.`metadata()`

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.schema

    Methods in org.apache.cassandra.schema that return KeyspaceMetadata
    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, Views views, Types types, Functions functions)`
    `static KeyspaceMetadata` | SchemaKeyspace.`metadata()`
    `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)`

    Methods in org.apache.cassandra.schema that return types with arguments of type KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `java.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 and Description
    --- | ---
    `Keyspaces.Builder` | Keyspaces.Builder.`add(KeyspaceMetadata... keyspaces)`
    `Keyspaces.Builder` | Keyspaces.Builder.`add(KeyspaceMetadata keyspace)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`dropTypeFromSchemaMutation(KeyspaceMetadata keyspace, UserType type, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeCreateAggregateMutation(KeyspaceMetadata keyspace, UDAggregate aggregate, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeCreateFunctionMutation(KeyspaceMetadata keyspace, UDFunction function, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeCreateKeyspaceMutation(KeyspaceMetadata keyspace, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeCreateTableMutation(KeyspaceMetadata keyspace, CFMetaData table, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeCreateTypeMutation(KeyspaceMetadata keyspace, UserType type, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeCreateViewMutation(KeyspaceMetadata keyspace, ViewDefinition view, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeDropAggregateMutation(KeyspaceMetadata keyspace, UDAggregate aggregate, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeDropFunctionMutation(KeyspaceMetadata keyspace, UDFunction function, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeDropKeyspaceMutation(KeyspaceMetadata keyspace, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeDropTableMutation(KeyspaceMetadata keyspace, CFMetaData table, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeDropViewMutation(KeyspaceMetadata keyspace, ViewDefinition view, long timestamp)`
    `static Mutation.SimpleBuilder` | SchemaKeyspace.`makeUpdateTableMutation(KeyspaceMetadata keyspace, CFMetaData oldTable, CFMetaData newTable, long timestamp)`
    `static Keyspaces` | Keyspaces.`of(KeyspaceMetadata... keyspaces)`

    Method parameters in org.apache.cassandra.schema with type arguments of type KeyspaceMetadata
    Modifier and Type | Method and 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.service

    Methods in org.apache.cassandra.service with parameters of type KeyspaceMetadata
    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)`

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.thrift

    Methods in org.apache.cassandra.thrift that return KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `static KeyspaceMetadata` | ThriftConversion.`fromThrift(KsDef ksd, CFMetaData... cfDefs)`

    Methods in org.apache.cassandra.thrift with parameters of type KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `static KsDef` | ThriftConversion.`toThrift(KeyspaceMetadata ksm)`

  - ### Uses of KeyspaceMetadata in org.apache.cassandra.tracing

    Methods in org.apache.cassandra.tracing that return KeyspaceMetadata
    Modifier and Type | Method and Description
    --- | ---
    `static KeyspaceMetadata` | TraceKeyspace.`metadata()`

Copyright © 2018 The Apache Software Foundation