Reputation: 1193
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.
Upvotes: 3
Views: 1260
Reputation: 20946
Secondary index will solve your problems. (Secondary index lets your query on column values)
Upvotes: 3