I\'m looking for a way to delete all of the rows from a given column family in cassandra.
This is the equivalent of TRUNCATE TABLE in SQL.
TRUNCATE TABLE
You can also do this via Cassandra CQL.
$ cqlsh Connected to Test Cluster at localhost:9160. [cqlsh 4.1.1 | Cassandra 2.0.6 | CQL spec 3.1.1 | Thrift protocol 19.39.0] Use HELP for help. cqlsh> TRUNCATE my_keyspace.my_column_family;