开发者

How to get list of records of a particular columnFamily?

I am using Cassandra and I 开发者_如何学运维want to fetch all the records from a column family, but I'm not getting how to do it. I don't have any key to fetch records. How to do it from command prompt? Is there any query?


[default@unknown] help list;
list <cf>;
list <cf>[<startKey>:];
list <cf>[<startKey>:<endKey>];
list ... limit N;
List a range of rows in the column or supercolumn family.

example:
list Users[j:] limit 40;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜