Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 95297 invoked from network); 7 Mar 2011 04:32:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 04:32:06 -0000 Received: (qmail 41960 invoked by uid 500); 7 Mar 2011 04:32:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 41917 invoked by uid 500); 7 Mar 2011 04:32:05 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 41901 invoked by uid 500); 7 Mar 2011 04:32:05 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 41898 invoked by uid 99); 7 Mar 2011 04:32:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 04:32:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 04:32:02 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id B91472DF; Mon, 7 Mar 2011 04:31:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 07 Mar 2011 04:31:41 -0000 Message-ID: <20110307043141.9424.64637@eosnew.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22API=22_by_TylerHobbs?= 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 TylerHobbs. The comment on this change is: Remove duplicate (and incorrect) describe_ke= yspaces() entry. http://wiki.apache.org/cassandra/API?action=3Ddiff&rev1=3D20&rev2=3D21 -------------------------------------------------- = 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 truncate =3D=3D=3D - =3D=3D=3D describe_keyspaces =3D=3D=3D - . `set describe_keyspaces()` = - Gets a list of all the keyspaces configured for the cluster. + . `truncate(string column_family)` + = + Removes all the rows from the given column family. = =3D=3D=3D describe_cluster_name =3D=3D=3D . `string describe_cluster_name()` = Gets the name of the cluster. = + =3D=3D=3D describe_keyspace =3D=3D=3D + = + . `KsDef describe_keyspace(string keyspace)` + = + Gets information about the specified keyspace. + = + =3D=3D=3D describe_keyspaces =3D=3D=3D + = + . `list describe_keyspaces()` + = + Gets a list of all the keyspaces configured for the cluster. (Equivalent = to calling describe_keyspace(k) for k in keyspaces.) + = =3D=3D=3D describe_partitioner =3D=3D=3D . `string describe_partitioner()` = @@ -302, +315 @@ = Gets the Thrift API version. = - =3D=3D=3D describe_keyspace =3D=3D=3D - = - . `KsDef describe_keyspace(string keyspace)` - = - Gets information about the specified keyspace. - = - =3D=3D=3D describe_keyspaces =3D=3D=3D - = - . `list describe_keyspaces()` - = - Gets a list of all the keyspaces configured for the cluster. (Equivalent = to calling describe_keyspace(k) for k in keyspaces.) - = - =3D=3D=3D truncate =3D=3D=3D - = - . `truncate(string column_family)` - = - Removes all the rows from the given column family. - = =3D=3D=3D system_add_column_family =3D=3D=3D = . `string system_add_column_family(CFDef cf_def)`