## Uses of Class
org.apache.cassandra.config.KSMetaData

- Packages that use KSMetaData
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.cql3 |
  org.apache.cassandra.db |
  org.apache.cassandra.service |

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

    Methods in org.apache.cassandra.config that return KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `static KSMetaData` | KSMetaData.`cloneWith(KSMetaData ksm, java.lang.Iterable<CFMetaData> cfDefs)`
    `static KSMetaData` | KSMetaData.`fromSchema(Row row, java.lang.Iterable<CFMetaData> cfms)` Deserialize only Keyspace attributes without nested ColumnFamilies
    `static KSMetaData` | KSMetaData.`fromSchema(Row serializedKs, Row serializedCFs)` Deserialize Keyspace with nested ColumnFamilies
    `static KSMetaData` | KSMetaData.`fromThrift(KsDef ksd, CFMetaData... cfDefs)`
    `KSMetaData` | Schema.`getKSMetaData(java.lang.String table)` Get metadata about table by its name
    `KSMetaData` | Schema.`getTableDefinition(java.lang.String table)` Get metadata about table by its name
    `static KSMetaData` | Avro.`ksFromAvro(org.apache.cassandra.db.migration.avro.KsDef ks)` Deprecated.
    `static KSMetaData` | KSMetaData.`newKeyspace(java.lang.String name, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, java.util.Map<java.lang.String,java.lang.String> options, boolean durablesWrites, java.lang.Iterable<CFMetaData> cfDefs)`
    `static KSMetaData` | KSMetaData.`newKeyspace(java.lang.String name, java.lang.String strategyName, java.util.Map<java.lang.String,java.lang.String> options, boolean durableWrites)`
    `KSMetaData` | KSMetaData.`reloadAttributes()`
    `static KSMetaData` | KSMetaData.`systemKeyspace()`
    `static KSMetaData` | KSMetaData.`testMetadata(java.lang.String name, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, java.util.Map<java.lang.String,java.lang.String> strategyOptions, CFMetaData... cfDefs)`
    `static KSMetaData` | KSMetaData.`testMetadataNotDurable(java.lang.String name, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, java.util.Map<java.lang.String,java.lang.String> strategyOptions, CFMetaData... cfDefs)`
    `static KSMetaData` | KSMetaData.`traceKeyspace()`
    `KSMetaData` | KSMetaData.`validate()`

    Methods in org.apache.cassandra.config that return types with arguments of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<KSMetaData>` | Schema.`getTableDefinitions()`

    Methods in org.apache.cassandra.config with parameters of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `void` | Schema.`clearTableDefinition(KSMetaData ksm)` Remove table definition from system
    `static KSMetaData` | KSMetaData.`cloneWith(KSMetaData ksm, java.lang.Iterable<CFMetaData> cfDefs)`
    `Schema` | Schema.`load(KSMetaData keyspaceDef)` Load specific keyspace into Schema
    `void` | Schema.`setTableDefinition(KSMetaData ksm)` Update (or insert) new table definition
    `RowMutation` | KSMetaData.`toSchemaUpdate(KSMetaData newState, long modificationTimestamp)`

    Method parameters in org.apache.cassandra.config with type arguments of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `Schema` | Schema.`load(java.util.Collection<KSMetaData> tableDefs)` Load up non-system tables

  - ### Uses of KSMetaData in org.apache.cassandra.cql3

    Methods in org.apache.cassandra.cql3 that return KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `KSMetaData` | KSPropDefs.`asKSMetadata(java.lang.String ksName)`
    `KSMetaData` | KSPropDefs.`asKSMetadataUpdate(KSMetaData old)`

    Methods in org.apache.cassandra.cql3 with parameters of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `KSMetaData` | KSPropDefs.`asKSMetadataUpdate(KSMetaData old)`

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

    Methods in org.apache.cassandra.db that return types with arguments of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Collection<KSMetaData>` | DefsTable.`loadFromStorage(java.util.UUID version)` Loads a version of keyspace definitions from storage (using old SCHEMA_CF as a data source) Note: If definitions where found in SCHEMA_CF this method would load them into new schema handling table KEYSPACE_CF
    `static java.util.Collection<KSMetaData>` | DefsTable.`loadFromTable()` Load keyspace definitions for the system keyspace (system.SCHEMA_KEYSPACES_CF)

    Methods in org.apache.cassandra.db with parameters of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `void` | Table.`createReplicationStrategy(KSMetaData ksm)`

    Method parameters in org.apache.cassandra.db with type arguments of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DefsTable.`save(java.util.Collection<KSMetaData> keyspaces)`

  - ### Uses of KSMetaData in org.apache.cassandra.service

    Methods in org.apache.cassandra.service with parameters of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `static void` | MigrationManager.`announceKeyspaceUpdate(KSMetaData ksm)`
    `static void` | MigrationManager.`announceNewKeyspace(KSMetaData ksm)`
    `static void` | MigrationManager.`announceNewKeyspace(KSMetaData ksm, long timestamp)`
    `void` | MigrationManager.`notifyCreateKeyspace(KSMetaData ksm)`
    `void` | MigrationManager.`notifyDropKeyspace(KSMetaData ksm)`
    `void` | MigrationManager.`notifyUpdateKeyspace(KSMetaData ksm)`

Copyright © 2014 The Apache Software Foundation