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 Chris Goffinet
Date Fri, 15 May 2009 20:44:17 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 Chris Goffinet:
http://wiki.apache.org/cassandra/ThriftInterface

------------------------------------------------------------------------------
  To get started, we'll insert some data into the `users` table:
  
  {{{ 
- > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'base_attributes:email'
'ted@example.com' 0
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'base_attributes:email'
'ted@example.com' 0 False
  None
- > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'base_attributes:age'
'25' 0
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'base_attributes:age'
'25' 0 False
  None
- > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:friends:2'
'1' 0
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:friends:2'
'1' 0 False
  None
- > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:friends:4'
'1' 0
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:friends:4'
'1' 0 False
  None
- > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:groups:1'
'1' 0
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:groups:1'
'1' 0 False
  None
- > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '2' 'base_attributes:email'
'bill@example.com' 0
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '2' 'base_attributes:email'
'bill@example.com' 0 False
  None
  }}}
  

Mime
View raw message