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

------------------------------------------------------------------------------
  
  Get a dict containing `{columnName, value, timestamp}` for a specific row.
  
+ The easiest way to thin of this coming from a SQL world is:
+ SELECT age FROM users WHERE id = 1
+ 
  Some examples on our table:
  
  {{{ 
- > ./Cassandra-remote -h <hostname>:<ThriftPort> get_column 'users' '1' 
'base_attributes:age' {'columnName': 'age', 'value': '25', 'timestamp': 0}
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> get_column 'users' '1' 
'base_attributes:age' 
+ {'columnName': 'age', 'value': '25', 'timestamp': 0}
- > ./Cassandra-remote -h <hostname>:<ThriftPort> get_column 'users' '1' 
'edges:friends:2' {'columnName': '2', 'value': '1', 'timestamp': 0}
+ > ./Cassandra-remote -h <hostname>:<ThriftPort> get_column 'users' '1' 
'edges:friends:2' 
+ {'columnName': '2', 'value': '1', 'timestamp': 0}
  }}} 
  
  == get_column_count ==

Reply via email to