Uses of Class org.apache.cassandra.config.KSMetaData (apache-cassandra API)
Date: 2014-10-21

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

- Packages that use KSMetaData
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.cql3.statements |
  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, UTMetaData userTypes)` Deserialize only Keyspace attributes without nested ColumnFamilies
    `static KSMetaData` | KSMetaData.`fromSchema(Row serializedKs, Row serializedCFs, Row serializedUserTypes)` Deserialize Keyspace with nested ColumnFamilies
    `static KSMetaData` | KSMetaData.`fromThrift(KsDef ksd, CFMetaData... cfDefs)`
    `KSMetaData` | Schema.`getKSMetaData(java.lang.String keyspaceName)` Get metadata about keyspace by its name
    `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.`getKeyspaceDefinitions()`

    Methods in org.apache.cassandra.config with parameters of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `void` | Schema.`clearKeyspaceDefinition(KSMetaData ksm)` Remove keyspace 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.`setKeyspaceDefinition(KSMetaData ksm)` Update (or insert) new keyspace definition
    `Mutation` | 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> keyspaceDefs)` Load up non-system keyspaces

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

    Methods in org.apache.cassandra.cql3.statements 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.statements with parameters of type KSMetaData
    Modifier and Type | Method and Description
    --- | ---
    `KSMetaData` | KSPropDefs.`asKSMetadataUpdate(KSMetaData old)`

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

    Fields in org.apache.cassandra.db declared as KSMetaData
    Modifier and Type | Field and Description
    --- | ---
    `KSMetaData` | Keyspace.`metadata`

    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>` | DefsTables.`loadFromKeyspace()` 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` | Keyspace.`createReplicationStrategy(KSMetaData ksm)`

  - ### 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.`announceKeyspaceUpdate(KSMetaData ksm, boolean announceLocally)`
    `static void` | MigrationManager.`announceNewKeyspace(KSMetaData ksm)`
    `static void` | MigrationManager.`announceNewKeyspace(KSMetaData ksm, boolean announceLocally)`
    `static void` | MigrationManager.`announceNewKeyspace(KSMetaData ksm, long timestamp, boolean announceLocally)`
    `void` | MigrationManager.`notifyCreateKeyspace(KSMetaData ksm)`
    `void` | MigrationManager.`notifyDropKeyspace(KSMetaData ksm)`
    `void` | MigrationManager.`notifyUpdateKeyspace(KSMetaData ksm)`

Copyright © 2014 The Apache Software Foundation