DESCRIBE SCHEMA
Shows definitions for all objects in the cluster.
|
On Linux systems, object names, such as keyspace and table names, are case-sensitive. CQL converts object names to lowercase unless enclosed in double quotation marks. |
Synopsis
DESCRIBE [ FULL ] SCHEMA
- FULL SCHEMA
-
Shows definitions for all objects.
- SCHEMA
-
Shows definitions for all non-system objects.
Examples
Shows definitions for all non-system objects:
DESC SCHEMA
This output shows the beginning of the returned results:
CREATE KEYSPACE dse_system_local WITH REPLICATION =
{'class': 'LocalStrategy'} AND durable_writes = true;
CREATE TABLE dse_system_local.solr_resources (
core_name text,
resource_name text,
resource_value blob,
PRIMARY KEY (core_name, resource_name)
) WITH CLUSTERING ORDER BY (resource_name ASC)
...