Cassandra-cli返回100多个结果

时间:2011-04-26 18:59:41

标签: cassandra

有没有办法让cassandra-cli工具返回100多个结果?

1 个答案:

答案 0 :(得分:13)

是:

[default@unknown] help get;
get <cf>['<key>'];
get <cf>['<key>']['<col>'] (as <type>)*;
get <cf>['<key>']['<super>'];
get <cf>['<key>'][<function>];
get <cf>['<key>'][<function>(<super>)][<function>(<col>)];
get <cf> where <column> = <value> [and <column> > <value> and ...] [limit <integer>];
Default LIMIT is 100. Available operations: =, >, >=, <, <=
...

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;