cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cassandra Wiki] Update of "API" by TylerHobbs
Date Fri, 08 Apr 2011 15:51:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "API" page has been changed by TylerHobbs.
The comment on this change is: Add multiget count.


  The method is not O(1). It takes all the columns from disk to calculate the answer. The
only benefit of the method is that you do not need to pull all the columns over Thrift interface
to count them.
+ === multiget_count ===
+  . `map<string, i32> multiget_count(keys, column_parent, predicate, consistency_level)`
+ A combination of `multiget_slice `and` get_count.`
  === get_range_slices ===
   . `list<KeySlice> get_range_slices(column_parent, predicate, range, consistency_level)`

View raw message