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 EricEvans
Date Sat, 05 Dec 2009 05:45:05 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 EricEvans.
The comment on this change is: updated for latest output format.
http://wiki.apache.org/cassandra/CassandraCli?action=diff&rev1=7&rev2=8

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

  After starting the Cassandra server, launch the CLI using:
  
  {{{
- ./bin/cassandra-cli --host localhost --port 9160
+ ./bin/cassandra-cli -host localhost -port 9160
  }}}
  
  You should see:
@@ -35, +35 @@

  
  {{{
  cassandra> get Keyspace1.Standard1['jsmith']
-   (column=last, value=Smith; timestamp=1254669905064)
+ => (column=last, value=Simmons, timestamp=1259991884091)
-   (column=first, value=John; timestamp=1254669647261)
+ => (column=first, value=John, timestamp=1259991879010)
-   (column=age, value=42; timestamp=1254669765567)
+ => (column=age, value=42, timestamp=1259991135887)
- Returned 3 rows.
+ Returned 3 results.
+ cassandra>
  }}}
  

Mime
View raw message