开发者

Retrieve every key of a column family in Cassandra

I have found no way to translate a simple select like SELECT * FROM USER into Cassandra. Is it possible to simply retrieve all the keys in a ColumnFamily? The only one I have found is a select with a key range (get_range_slices). Is开发者_JS百科 there a way to get the entire key list without the need to define a key range?

Thanks Tobia Loschiavo


You should use get_range_slices, start with "", and after each call use the last key as the start key in the next call

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜