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 use the truncate thrift call, or the TRUNCATE command in CQL. http://www.datastax.com/docs/1.0/references/cql/TRUNCATE 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
truncate
TRUNCATE command in CQL. http://www.datastax.com/docs/1.0/references/cql/TRUNCATE 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
http://www.datastax.com/docs/1.0/references/cql/TRUNCATE