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)
精彩评论