CQL for Cassandra 2.x

Removing a keyspace, schema, or data

Using the DROP and DELETE commands.

To remove data, you can set column values for automatic removal using the TTL (time-to-expire) table attribute. You can also drop a table or keyspace, and delete keyspace column metadata.

Attention: Be sure this document version matches your product version

Show/hide