Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 31284 invoked from network); 24 Nov 2009 13:38:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 13:38:40 -0000 Received: (qmail 71355 invoked by uid 500); 24 Nov 2009 13:38:39 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 71330 invoked by uid 500); 24 Nov 2009 13:38:39 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 71320 invoked by uid 99); 24 Nov 2009 13:38:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 13:38:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 13:38:36 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id BA4D716E08; Tue, 24 Nov 2009 13:38:15 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Tue, 24 Nov 2009 13:38:15 -0000 Message-ID: <20091124133815.15151.50733@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22API=22_by_JonathanEllis?= X-Virus-Checked: Checked by ClamAV on apache.org 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=3Ddiff&rev1=3D27&rev2=3D28 -------------------------------------------------- =3D=3D=3D get_slice =3D=3D=3D `list get_slice(keyspace, key, column_parent, pred= icate, consistency_level)` = - Get the group of columns contained by `column_parent` (either a `ColumnFa= mily` name or a `ColumnFamily/SuperColumn` name pair) specified by the give= n `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 w= ithout too much effort in Cassandra.thift by modifying the SliceRange struc= t. After doing so, rerun thrift by doing something like: ''thrift --gen (y= our language) -o /tmp cassandra.thrift'' and then replace your languages of= ficial files (use locate to find them) with the new ones in the /tmp direct= ory. + Get the group of columns contained by `column_parent` (either a `ColumnFa= mily` name or a `ColumnFamily/SuperColumn` name pair) specified by the give= n `SlicePredicate` struct. = =3D=3D=3D multiget =3D=3D=3D `map multiget(keyspace, keys, column_path, = consistency_level)`