How can I get list of all column families in keyspace in Cassandra using CQL 3?
To Select the data from Cassandra , Select statement is used. If you need to select all columns , you can use "*" or provide list of column names.
A Cassandra column family consists of a collection of ordered columns in rows which represent a structured version of the stored data. The keyspace holds these Cassandra column families and each keyspace has at least one column family.
Go to data tab > there you will see all keyspcaces created by you and some system keyspaces. You can see all tables under individual keyspaces and also replicator factor for keyspace.
Or even more simply (if you are using cqlsh), switch over to your keyspace with use
and then execute describe tables
:
cqlsh> use products; cqlsh:products> describe tables; itemmaster itemhierarchy companyitemfavorites testtable
Note: The describe command is specific to cqlsh only.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With