开发者

How to get row count for some specific condition

I m using cassandra. is there a way to get a row count开发者_如何学运维 (key count) of a single column family in Cassandra for some specific condition?

(for example select * from user where salary>=5000 in mysql)

get_count can only be used to get the column count.


Secondary index will solve your problems. (Secondary index lets your query on column values)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜