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 Sun, 08 Nov 2009 01:43:11 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=25&rev2=26

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

  === get_slice ===
    `list<ColumnOrSuperColumn> get_slice(keyspace, key, column_parent, predicate, consistency_level)`
  
- Get the group of columns contained by `column_parent` (either a !ColumnFamily name or a
!ColumnFamily/!SuperColumn name pair) specified by the given `predicate`.  If no matching
values are found, an empty list is returned.  Note that the number of columns returned is
limited to 100 as of [[http://issues.apache.org/jira/browse/CASSANDRA-262|0.4]].  This can
be modified without too much effort in Cassandra.thift by modifying the SliceRange struct.
 After doing so, rerun thrift by doing something like: ''thrift --gen (your language) -o /tmp
cassandra.thrift'' and then replace your languages official files (use locate to find them)
with the new ones in the /tmp directory.
+ Get the group of columns contained by `column_parent` (either a !ColumnFamily name or a
!ColumnFamily/!SuperColumn name pair) specified by the given `predicate` (`SlicePredicate`
object, discussed above).  If no matching values are found, an empty list is returned.
  
  === multiget ===
    `map<string,ColumnOrSuperColumn> multiget(keyspace, keys, column_path, consistency_level)`

Mime
View raw message