## Uses of Class
org.apache.cassandra.thrift.KsDef

Packages that use KsDef
Package | Description
--- | ---
org.apache.cassandra.cli |
org.apache.cassandra.config |
org.apache.cassandra.thrift |

### Uses of KsDef in org.apache.cassandra.cli

Methods in org.apache.cassandra.cli that return KsDef
Modifier and Type | Method and Description
--- | ---
`static KsDef` | CliUtils.`getKeySpaceDef(java.lang.String keyspaceName, java.util.List<KsDef> keyspaces)` Parse the statement from cli and return KsDef
`KsDef` | CliClient.`getKSMetaData(java.lang.String keyspace)`

Methods in org.apache.cassandra.cli with parameters of type KsDef
Modifier and Type | Method and Description
--- | ---
`static java.util.Set<java.lang.String>` | CliUtils.`getCfNamesByKeySpace(KsDef keySpace)` Returns set of column family names in specified keySpace.
`static java.util.Map<java.lang.String,CfDef>` | CliClient.`loadCql3Defs(Cassandra.Client thriftClient, KsDef thriftKs)`
`static java.util.Map<java.lang.String,CfDef>` | CliClient.`loadCql3DefsUnchecked(Cassandra.Client thriftClient, KsDef thriftKs)`

Method parameters in org.apache.cassandra.cli with type arguments of type KsDef
Modifier and Type | Method and Description
--- | ---
`static java.lang.String` | CliCompiler.`getKeySpace(java.lang.String ksName, java.util.List<KsDef> keyspaces)`
`static java.lang.String` | CliCompiler.`getKeySpace(org.antlr.runtime.tree.Tree statement, java.util.List<KsDef> keyspaces)`
`static KsDef` | CliUtils.`getKeySpaceDef(java.lang.String keyspaceName, java.util.List<KsDef> keyspaces)` Parse the statement from cli and return KsDef

### Uses of KsDef in org.apache.cassandra.config

Methods in org.apache.cassandra.config that return KsDef
Modifier and Type | Method and Description
--- | ---
`KsDef` | KSMetaData.`toThrift()`

Methods in org.apache.cassandra.config with parameters of type KsDef
Modifier and Type | Method and Description
--- | ---
`static KSMetaData` | KSMetaData.`fromThrift(KsDef ksd, CFMetaData... cfDefs)`

### Uses of KsDef in org.apache.cassandra.thrift

Fields in org.apache.cassandra.thrift declared as KsDef
Modifier and Type | Field and Description
--- | ---
`KsDef` | Cassandra.system_add_keyspace_args.`ks_def`
`KsDef` | Cassandra.system_update_keyspace_args.`ks_def`
`KsDef` | Cassandra.describe_keyspace_result.`success`

Fields in org.apache.cassandra.thrift with type parameters of type KsDef
Modifier and Type | Field and Description
--- | ---
`java.util.List<KsDef>` | Cassandra.describe_keyspaces_result.`success`

Methods in org.apache.cassandra.thrift that return KsDef
Modifier and Type | Method and Description
--- | ---
`KsDef` | KsDef.`deepCopy()`
`KsDef` | CassandraServer.`describe_keyspace(java.lang.String keyspaceName)`
`KsDef` | Cassandra.Iface.`describe_keyspace(java.lang.String keyspace)` describe specified keyspace
`KsDef` | Cassandra.Client.`describe_keyspace(java.lang.String keyspace)`
`KsDef` | Cassandra.system_add_keyspace_args.`getKs_def()`
`KsDef` | Cassandra.system_update_keyspace_args.`getKs_def()`
`KsDef` | Cassandra.AsyncClient.describe_keyspace_call.`getResult()`
`KsDef` | Cassandra.describe_keyspace_result.`getSuccess()`
`KsDef` | Cassandra.Client.`recv_describe_keyspace()`
`KsDef` | KsDef.`setCf_defs(java.util.List<CfDef> cf_defs)`
`KsDef` | KsDef.`setDurable_writes(boolean durable_writes)`
`KsDef` | KsDef.`setName(java.lang.String name)`
`KsDef` | KsDef.`setReplication_factor(int replication_factor)` Deprecated. ignored
`KsDef` | KsDef.`setStrategy_class(java.lang.String strategy_class)`
`KsDef` | KsDef.`setStrategy_options(java.util.Map<java.lang.String,java.lang.String> strategy_options)`

Methods in org.apache.cassandra.thrift that return types with arguments of type KsDef
Modifier and Type | Method and Description
--- | ---
`java.util.List<KsDef>` | CassandraServer.`describe_keyspaces()`
`java.util.List<KsDef>` | Cassandra.Iface.`describe_keyspaces()` list the defined keyspaces in this cluster
`java.util.List<KsDef>` | Cassandra.Client.`describe_keyspaces()`
`java.util.List<KsDef>` | Cassandra.AsyncClient.describe_keyspaces_call.`getResult()`
`org.apache.thrift.async.AsyncMethodCallback<java.util.List<KsDef>>` | Cassandra.AsyncProcessor.describe_keyspaces.`getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)`
`org.apache.thrift.async.AsyncMethodCallback<KsDef>` | Cassandra.AsyncProcessor.describe_keyspace.`getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)`
`java.util.List<KsDef>` | Cassandra.describe_keyspaces_result.`getSuccess()`
`java.util.Iterator<KsDef>` | Cassandra.describe_keyspaces_result.`getSuccessIterator()`
`java.util.List<KsDef>` | Cassandra.Client.`recv_describe_keyspaces()`

Methods in org.apache.cassandra.thrift with parameters of type KsDef
Modifier and Type | Method and Description
--- | ---
`void` | Cassandra.describe_keyspaces_result.`addToSuccess(KsDef elem)`
`int` | KsDef.`compareTo(KsDef other)`
`boolean` | KsDef.`equals(KsDef that)`
`void` | Cassandra.Client.`send_system_add_keyspace(KsDef ks_def)`
`void` | Cassandra.Client.`send_system_update_keyspace(KsDef ks_def)`
`Cassandra.system_add_keyspace_args` | Cassandra.system_add_keyspace_args.`setKs_def(KsDef ks_def)`
`Cassandra.system_update_keyspace_args` | Cassandra.system_update_keyspace_args.`setKs_def(KsDef ks_def)`
`Cassandra.describe_keyspace_result` | Cassandra.describe_keyspace_result.`setSuccess(KsDef success)`
`java.lang.String` | CassandraServer.`system_add_keyspace(KsDef ks_def)`
`java.lang.String` | Cassandra.Iface.`system_add_keyspace(KsDef ks_def)` adds a keyspace and any column families that are part of it.
`java.lang.String` | Cassandra.Client.`system_add_keyspace(KsDef ks_def)`
`void` | Cassandra.AsyncIface.`system_add_keyspace(KsDef ks_def, org.apache.thrift.async.AsyncMethodCallback resultHandler)`
`void` | Cassandra.AsyncClient.`system_add_keyspace(KsDef ks_def, org.apache.thrift.async.AsyncMethodCallback resultHandler)`
`java.lang.String` | CassandraServer.`system_update_keyspace(KsDef ks_def)` update an existing keyspace, but do not allow column family modifications.
`java.lang.String` | Cassandra.Iface.`system_update_keyspace(KsDef ks_def)` updates properties of a keyspace.
`java.lang.String` | Cassandra.Client.`system_update_keyspace(KsDef ks_def)`
`void` | Cassandra.AsyncIface.`system_update_keyspace(KsDef ks_def, org.apache.thrift.async.AsyncMethodCallback resultHandler)`
`void` | Cassandra.AsyncClient.`system_update_keyspace(KsDef ks_def, org.apache.thrift.async.AsyncMethodCallback resultHandler)`

Method parameters in org.apache.cassandra.thrift with type arguments of type KsDef
Modifier and Type | Method and Description
--- | ---
`Cassandra.describe_keyspaces_result` | Cassandra.describe_keyspaces_result.`setSuccess(java.util.List<KsDef> success)`
`void` | Cassandra.AsyncProcessor.describe_keyspace.`start(I iface, Cassandra.describe_keyspace_args args, org.apache.thrift.async.AsyncMethodCallback<KsDef> resultHandler)`
`void` | Cassandra.AsyncProcessor.describe_keyspaces.`start(I iface, Cassandra.describe_keyspaces_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<KsDef>> resultHandler)`

Constructors in org.apache.cassandra.thrift with parameters of type KsDef
Constructor and Description
`Cassandra.AsyncClient.system_add_keyspace_call(KsDef ks_def, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport)`
`Cassandra.AsyncClient.system_update_keyspace_call(KsDef ks_def, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport)`
`Cassandra.describe_keyspace_result(KsDef success, NotFoundException nfe, InvalidRequestException ire)`
`Cassandra.system_add_keyspace_args(KsDef ks_def)`
`Cassandra.system_update_keyspace_args(KsDef ks_def)`
`KsDef(KsDef other)` Performs a deep copy on other.

Constructor parameters in org.apache.cassandra.thrift with type arguments of type KsDef
Constructor and Description
`Cassandra.describe_keyspaces_result(java.util.List<KsDef> success, InvalidRequestException ire)`