You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2009/12/09 20:39:37 UTC

[Cassandra Wiki] Update of "API" by JonathanEllis

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 JonathanEllis.
http://wiki.apache.org/cassandra/API?action=diff&rev1=28&rev2=29

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

  
  Counts the columns present in `column_parent`.
  
+ get_range_slice
+ 
+    `list<KeySlice> get_range_slice(keyspace, column_parent, predicate, start_key, finish_key, row_count=100, consistency_level)`
+ 
+ Replaces get_key_range. Returns a list of slices, sorted by row key, starting with start, ending with finish (both inclusive) and at most count long. The empty string ("") can be used as a sentinel value to get the first/last existing key (or first/last column in the column predicate parameter). Unlike get_key_range, this applies the given predicate to all keys in the range, not just those with undeleted matching data.  This method is only allowed when using an order-preserving partitioner.
+ 
  === get_key_range ===
    `list<string> get_key_range(keyspace, column_family, start, finish, count=100, consistency_level)`