开发者

How to get list of records of a particular columnFamily?

开发者 https://www.devze.com 2023-01-31 18:07 出处:网络
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 pro

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

精彩评论

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