开发者

How to get row count for some specific condition

开发者 https://www.devze.com 2023-02-03 19:30 出处:网络
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?

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

精彩评论

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