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 JonathanEllis
Date Wed, 09 Dec 2009 19:39: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 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)`
  

Mime
View raw message