You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/10/26 23:31:13 UTC

[Cassandra Wiki] Update of "CassandraCli" by DavidBiesack

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 Cassandra 0.7.
http://wiki.apache.org/cassandra/CassandraCli?action=diff&rev1=16&rev2=17

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

  [todd@Keyspace1] set Standard2['jsmith']['age'] = '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 three columns, `first`, `last`, and `age`. Each of these commands is the equivalent to an `insert()` using the [[API|Thrift API]].
  
  In API version 2.1.0 the example would go like the following due to changes in the API.