cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "CassandraCli" by DavidBiesack
Date Tue, 26 Oct 2010 21:31:13 GMT
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.

Mime
View raw message