Package | Description |
---|---|
org.apache.cassandra.cli | |
org.apache.cassandra.config | |
org.apache.cassandra.thrift |
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) |
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) |
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
|
Modifier and Type | Method and Description |
---|---|
KsDef |
KSMetaData.toThrift() |
Modifier and Type | Method and Description |
---|---|
static KSMetaData |
KSMetaData.fromThrift(KsDef ksd,
CFMetaData... cfDefs) |
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 |
Modifier and Type | Field and Description |
---|---|
java.util.List<KsDef> |
Cassandra.describe_keyspaces_result.success |
Modifier and Type | Method and Description |
---|---|
KsDef |
KsDef.deepCopy() |
KsDef |
CassandraServer.describe_keyspace(java.lang.String table) |
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) |
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() |
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() |
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<Cassandra.AsyncClient.system_add_keyspace_call> resultHandler) |
void |
Cassandra.AsyncClient.system_add_keyspace(KsDef ks_def,
org.apache.thrift.async.AsyncMethodCallback<Cassandra.AsyncClient.system_add_keyspace_call> 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<Cassandra.AsyncClient.system_update_keyspace_call> resultHandler) |
void |
Cassandra.AsyncClient.system_update_keyspace(KsDef ks_def,
org.apache.thrift.async.AsyncMethodCallback<Cassandra.AsyncClient.system_update_keyspace_call> resultHandler) |
Modifier and Type | Method and Description |
---|---|
Cassandra.describe_keyspaces_result |
Cassandra.describe_keyspaces_result.setSuccess(java.util.List<KsDef> success) |
Constructor and Description |
---|
Cassandra.AsyncClient.system_add_keyspace_call(KsDef ks_def,
org.apache.thrift.async.AsyncMethodCallback<Cassandra.AsyncClient.system_add_keyspace_call> 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<Cassandra.AsyncClient.system_update_keyspace_call> 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 and Description |
---|
Cassandra.describe_keyspaces_result(java.util.List<KsDef> success,
InvalidRequestException ire) |
Copyright © 2014 The Apache Software Foundation