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 kristopolous
Date Sun, 08 Nov 2009 01:24:10 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 kristopolous.
The comment on this change is: disclosure of 100 results for get_slice along with a description
of how to change it..
http://wiki.apache.org/cassandra/API?action=diff&rev1=22&rev2=23

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

  === 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.
+ 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 [[0.4|http://issues.apache.org/jira/browse/CASSANDRA-262]].  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.
  
  === multiget ===
    `map<string,ColumnOrSuperColumn> multiget(keyspace, keys, column_path, consistency_level)`

Mime
View raw message