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 01:00:30 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=33&rev2=34

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

  
  1 Row Returned.
  }}}
- In the above example, you can see that we can span commands over multiple lines. We add
column metadata that validates the column data as well as display value unencoded in the cli
output. We also add an index on age. We add one more row with an age of '42' and finally query
the column family for rows that with an age of 42.
+ In the above example, you can see that we can span commands over multiple lines. We add
column metadata that validates the column data as well as display value unencoded in the cli
output. We also add an index on age. The `KEYS` index type means that we can only perform
equality operations over it. We add one more row with an age of '42' and finally query the
column family for rows with an age of 42.
  
  One final thing that is very handy about the cassandra-cli, you can script your schema creation
in a file and run it through the cli. You just create a text file with any number of creation
commands and run the cli with the `-f` option:
  

Mime
View raw message