Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Cassandra CF有没有办法在不使用CQL query过滤条件中的键的情况下删除多行?
Cassandra CF
CQL query
像DELETE FROM [ColumnFamily] WHERE [NonKeyColumnName] = [Value] OR 的东西DELETE FROM [ColumnFamily] WHERE [NonKeyColumnName] IS NULL?
DELETE FROM [ColumnFamily] WHERE [NonKeyColumnName] = [Value]
DELETE FROM [ColumnFamily] WHERE [NonKeyColumnName] IS NULL
不,你不能那样做。删除操作只能在rowkey上进行。
如果该列为空,那么您不必担心。GC 将在压缩时删除它。