删除cassandra中的查询

时间:2015-02-17 11:14:06

标签: java cassandra cassandra-2.0

Delete delete = QueryBuilder.delete()
  .from("addresbook", "contact")
  .where(eq("username", "dgarcia"));

" eq"的类型是什么?在where子句

Delete example here

1 个答案:

答案 0 :(得分:9)

import static com.datastax.driver.core.querybuilder.QueryBuilder.eq;

干杯, 卡罗