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/09/24 21:34:18 UTC
[Cassandra Wiki] Update of "API" by TommiVirtanen
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 TommiVirtanen:
http://wiki.apache.org/cassandra/API?action=diff&rev1=21&rev2=22
=== get_key_range ===
`list<string> get_key_range(keyspace, column_family, start, finish, count=100, consistency_level)`
- Returns a list of keys starting with `start`, ending with `finish`, and at most `count` long. (The semantics are similar to the corresponding components of `SliceRange`.) This method is only allowed when using an order-preserving partitioner.
+ Returns a list of keys 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. (The semantics are similar to the corresponding components of `SliceRange`.) This method is only allowed when using an order-preserving partitioner.
+
=== insert ===
`insert(keyspace, key, column_path, value, timestamp, consistency_level)`