From commits-return-20956-apmail-cassandra-commits-archive=cassandra.apache.org@cassandra.apache.org Tue Oct 26 21:31:50 2010 Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 73129 invoked from network); 26 Oct 2010 21:31:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 21:31:50 -0000 Received: (qmail 75910 invoked by uid 500); 26 Oct 2010 21:31:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 75890 invoked by uid 500); 26 Oct 2010 21:31:50 -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 75882 invoked by uid 500); 26 Oct 2010 21:31:50 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 75879 invoked by uid 99); 26 Oct 2010 21:31:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 21:31:50 +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.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 21:31:49 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 42771E1; Tue, 26 Oct 2010 21:31:13 +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: Tue, 26 Oct 2010 21:31:13 -0000 Message-ID: <20101026213113.91133.58349@eosnew.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22CassandraCli=22_by_DavidBiesa?= =?utf-8?q?ck?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for= change notification. The "CassandraCli" page has been changed by DavidBiesack. The comment on this change is: note that the use command is only in Cassand= ra 0.7. http://wiki.apache.org/cassandra/CassandraCli?action=3Ddiff&rev1=3D16&rev2= =3D17 -------------------------------------------------- [todd@Keyspace1] set Standard2['jsmith']['age'] =3D '42' Value inserted. }}} + '''''Note:''' ''the use command above is only available in Cassandra 0.7 = and later. You can skip it if you are using an earlier version.'' + = In the example above we authenticated to 'Keyspace1' and created a record= in the `Standard1` column family using the key `jsmith`. This record has t= hree columns, `first`, `last`, and `age`. Each of these commands is the equ= ivalent to an `insert()` using the [[API|Thrift API]]. = In API version 2.1.0 the example would go like the following due to chang= es in the API.