cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "API" by TylerHobbs
Date Fri, 08 Apr 2011 15:46:46 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: get_count takes a predicate.
http://wiki.apache.org/cassandra/API?action=diff&rev1=23&rev2=24

--------------------------------------------------

  
  Retrieves slices for `column_parent` and `predicate` on each of the given keys in parallel.
Keys are a `list<string> of the keys to get slices for.
  
- This is similar to `get_range_slice` (Cassandra 0.5) except operating on a set of non-contiguous
keys instead of a range of keys.
+ This is similar to `get_range_slices`, except it operates on a set of non-contiguous keys
instead of a range of keys.
  
  === get_count ===
-  . `i32 get_count(key, column_parent, consistency_level)`
+  . `i32 get_count(key, column_parent, predicate, consistency_level)`
  
- Counts the columns present in `column_parent`.
+ Counts the columns present in `column_parent` within the `predicate.`
  
  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.
  

Mime
View raw message