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

## Uses of Class
org.apache.cassandra.db.Keyspace

- Packages that use Keyspace
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.db |
  org.apache.cassandra.metrics |
  org.apache.cassandra.service |

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

    Methods in org.apache.cassandra.config that return Keyspace
    Modifier and Type | Method and Description
    --- | ---
    `Keyspace` | Schema.`getKeyspaceInstance(java.lang.String keyspaceName)` Get keyspace instance by name
    `Keyspace` | Schema.`removeKeyspaceInstance(java.lang.String keyspaceName)` Remove keyspace from schema

    Methods in org.apache.cassandra.config with parameters of type Keyspace
    Modifier and Type | Method and Description
    --- | ---
    `void` | Schema.`storeKeyspaceInstance(Keyspace keyspace)` Store given Keyspace instance to the schema

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

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

    Fields in org.apache.cassandra.db with type parameters of type Keyspace
    Modifier and Type | Field and Description
    --- | ---
    `static com.google.common.base.Function<java.lang.String,Keyspace>` | Keyspace.`keyspaceTransformer`

    Methods in org.apache.cassandra.db that return Keyspace
    Modifier and Type | Method and Description
    --- | ---
    `static Keyspace` | Keyspace.`clear(java.lang.String keyspaceName)`
    `static Keyspace` | Keyspace.`clear(java.lang.String keyspaceName, Schema schema)`
    `static Keyspace` | Keyspace.`open(java.lang.String keyspaceName)`
    `static Keyspace` | Keyspace.`openWithoutSSTables(java.lang.String keyspaceName)`

    Methods in org.apache.cassandra.db that return types with arguments of type Keyspace
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.Iterable<Keyspace>` | Keyspace.`all()`
    `static java.lang.Iterable<Keyspace>` | Keyspace.`nonSystem()`
    `static java.lang.Iterable<Keyspace>` | Keyspace.`system()`

    Methods in org.apache.cassandra.db with parameters of type Keyspace
    Modifier and Type | Method and Description
    --- | ---
    `void` | ConsistencyLevel.`assureSufficientLiveNodes(Keyspace keyspace, java.lang.Iterable<java.net.InetAddress> liveEndpoints)`
    `int` | ConsistencyLevel.`blockFor(Keyspace keyspace)`
    `static ColumnFamilyStore` | ColumnFamilyStore.`createColumnFamilyStore(Keyspace keyspace, java.lang.String columnFamily, boolean loadSSTables)`
    `static ColumnFamilyStore` | ColumnFamilyStore.`createColumnFamilyStore(Keyspace keyspace, java.lang.String columnFamily, IPartitioner partitioner, CFMetaData metadata)`
    `java.util.List<java.net.InetAddress>` | ConsistencyLevel.`filterForQuery(Keyspace keyspace, java.util.List<java.net.InetAddress> liveEndpoints)`
    `java.util.List<java.net.InetAddress>` | ConsistencyLevel.`filterForQuery(Keyspace keyspace, java.util.List<java.net.InetAddress> liveEndpoints, ReadRepairDecision readRepair)`
    `abstract Row` | ReadCommand.`getRow(Keyspace keyspace)`
    `Row` | SliceByNamesReadCommand.`getRow(Keyspace keyspace)`
    `Row` | SliceFromReadCommand.`getRow(Keyspace keyspace)`
    `boolean` | ConsistencyLevel.`isSufficientLiveNodes(Keyspace keyspace, java.lang.Iterable<java.net.InetAddress> liveEndpoints)`

  - ### Uses of Keyspace in org.apache.cassandra.metrics

    Constructors in org.apache.cassandra.metrics with parameters of type Keyspace
    Constructor and Description
    `KeyspaceMetrics(Keyspace ks)` Creates metrics for given `ColumnFamilyStore`.

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

    Fields in org.apache.cassandra.service declared as Keyspace
    Modifier and Type | Field and Description
    --- | ---
    `protected Keyspace` | AbstractWriteResponseHandler.`keyspace`

    Methods in org.apache.cassandra.service with parameters of type Keyspace
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<java.net.InetAddress>` | StorageService.`getLiveNaturalEndpoints(Keyspace keyspace, java.nio.ByteBuffer key)` This method attempts to return N endpoints that are responsible for storing the specified key i.e for replication.
    `java.util.List<java.net.InetAddress>` | StorageService.`getLiveNaturalEndpoints(Keyspace keyspace, RingPosition pos)`
    `static java.util.List<java.net.InetAddress>` | StorageProxy.`getLiveSortedEndpoints(Keyspace keyspace, java.nio.ByteBuffer key)`

    Constructors in org.apache.cassandra.service with parameters of type Keyspace
    Constructor and Description
    `AbstractWriteResponseHandler(Keyspace keyspace, java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, java.lang.Runnable callback, WriteType writeType)`
    `DatacenterSyncWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, Keyspace keyspace, java.lang.Runnable callback, WriteType writeType)`
    `DatacenterWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, Keyspace keyspace, java.lang.Runnable callback, WriteType writeType)`
    `ReadCallback(IResponseResolver<TMessage,TResolved> resolver, ConsistencyLevel consistencyLevel, int blockfor, IReadCommand command, Keyspace keyspace, java.util.List<java.net.InetAddress> endpoints)`
    `WriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, Keyspace keyspace, java.lang.Runnable callback, WriteType writeType)`

Copyright © 2014 The Apache Software Foundation