DESCRIBE KEYSPACE
Shows this output depending on the options selected:
-
List of all keyspaces in the cluster.
-
Definition of each object in a specified keyspace as an executable CQL statement.
Verify all settings before executing the full output, some options may be cluster specific in the |
Synopsis
DESCRIBE KEYSPACES | KEYSPACE <keyspace_name>
Syntax legend
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
Set, list, map, or tuple.
Angle brackets ( |
|
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrConfig files. |
KEYSPACES
-
All keyspaces.
KEYSPACE
-
One keyspace.
- <keyspace_name>
-
Name of the keyspace.
Examples
Show all keyspaces:
DESC KEYSPACES
All the keyspaces on the cluster are listed:
dse_system_local cycling system keyspace1 system_traces
dse_security system_schema dse_leases system_distributed dse_perf
solr_admin system_auth dse_audit test dse_system