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] Trivial Update of "CassandraCli" by jeremyhanna
Date Thu, 24 Feb 2011 00:57:50 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 jeremyhanna.
http://wiki.apache.org/cassandra/CassandraCli?action=diff&rev1=32&rev2=33

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

  [default@Twissandra] set User['jsmith']['age'] = '39';
  Value inserted.
  }}}
- Note that before we can start adding data, we have to `use Twissandra` to set our context.
We created a record in the `User` 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]].
+ Note that before we can start adding data, we have to `use Twissandra;` to set our context.
We created a record in the `User` 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]].
  
  Now let's read back the `jsmith` row to see what it contains:
  

Mime
View raw message