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 "ThriftInterface" by EricEvans
Date Wed, 16 Sep 2009 13:05:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The following page has been changed by EricEvans:
http://wiki.apache.org/cassandra/ThriftInterface

The comment on the change is:
some simple Cassandra-remote usage examples

------------------------------------------------------------------------------
  Usage: ./Cassandra-remote [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]
  }}}
  
+ Some examples of setting and getting values:
+ 
+ {{{
+ $ ./Cassandra-remote -h cass-1:9160 insert Keyspace1 eevans "ColumnPath('Standard1', column='fruit')"
apple 1 ConsistencyLevel.QUORUM
+ None
+ $ ./Cassandra-remote -h cass-1:9160 get Keyspace1 eevans "ColumnPath('Standard1', column='fruit')"
ConsistencyLevel.QUORUM
+ ColumnOrSuperColumn(column=Column(timestamp=1, name='fruit', value='apple'), super_column=None)
+ }}}
+ 
  See ["API"] for details on using the interface.
  

Mime
View raw message