Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 78809 invoked from network); 2 Mar 2010 12:30:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 12:30:07 -0000 Received: (qmail 58629 invoked by uid 500); 2 Mar 2010 12:30:03 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 58606 invoked by uid 500); 2 Mar 2010 12:30:03 -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 58598 invoked by uid 99); 2 Mar 2010 12:30:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 12:30:03 +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, 02 Mar 2010 12:30:03 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 5470816E28 for ; Tue, 2 Mar 2010 12:29:43 +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, 02 Mar 2010 12:29:43 -0000 Message-ID: <20100302122943.10799.47258@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Trivial_Update_of_=22API=22_by_NickTelford?= 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 NickTelford. The comment on this change is: Minor formatting tweak. http://wiki.apache.org/cassandra/API?action=3Ddiff&rev1=3D44&rev2=3D45 -------------------------------------------------- = =3D=3D Method calls =3D=3D =3D=3D=3D login =3D=3D=3D - '''Requires Cassandra 0.6''' + ''Requires Cassandra 0.6'' = . `void login(keyspace, auth_request)` = @@ -240, +240 @@ Remove data from the row specified by `key` at the granularity specified = by `column_path`, and the given `timestamp`. Note that all the values in `= column_path` besides `column_path.column_family` are truly optional: you ca= n remove the entire row by just specifying the !ColumnFamily, or you can re= move a !SuperColumn or a single Column by specifying those levels too. Note= that the `timestamp` is needed, so that if the commands are replayed in a = different order on different nodes, the same result is produced. = =3D=3D=3D describe_keyspaces =3D=3D=3D - '''Requires Cassandra 0.6''' + ''Requires Cassandra 0.6'' = . `set describe_keyspaces()` = Gets a list of all the keyspaces configured for the cluster. = =3D=3D=3D describe_cluster_name =3D=3D=3D - '''Requires Cassandra 0.6''' + ''Requires Cassandra 0.6'' = . `string describe_cluster_name()` = Gets the name of the cluster. = =3D=3D=3D describe_version =3D=3D=3D - '''Requires Cassandra 0.6''' + ''Requires Cassandra 0.6'' = . `string describe_version()` = Gets the Thrift API version. = =3D=3D=3D describe_ring =3D=3D=3D - '''Requires Cassandra 0.6''' + ''Requires Cassandra 0.6'' = . `list describe_ring(keyspace)` = Gets the token ring; a map of ranges to host addresses. Represented as a = `set` of `TokenRange` instead of a map from range to list of endpoints, bec= ause you can't use Thrift structs as map keys: https://issues.apache.org/ji= ra/browse/THRIFT-162 for the same reason, we can't return a set here, even = though order is neither important nor predictable. = =3D=3D=3D describe_keyspace =3D=3D=3D - '''Requires Cassandra 0.6''' + ''Requires Cassandra 0.6'' = . `map> describe_keyspace(keyspace)` =20