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 JoeStump: http://wiki.apache.org/cassandra/CassandraCli The comment on the change is: Switched from Table1 to Keyspace1 to align with current storage-conf.xml. ------------------------------------------------------------------------------ something slightly more interesting... {{{ - cassandra> set Table1.Standard1['jsmith']['first'] = 'John' + cassandra> set Keyspace1.Standard1['jsmith']['first'] = 'John' Statement processed. - cassandra> set Table1.Standard1['jsmith']['last'] = 'Smith' + cassandra> set Keyspace1.Standard1['jsmith']['last'] = 'Smith' Statement processed. - cassandra> set Table1.Standard1['jsmith']['age'] = '42' + cassandra> set Keyspace1.Standard1['jsmith']['age'] = '42' Statement processed. }}} @@ -32, +32 @@ Now we read back the `jsmith` row to see what it contains: {{{ - cassandra> get Table1.Standard1['jsmith'] + cassandra> get Keyspace1.Standard1['jsmith'] COLUMN_TIMESTAMP = 1241129773658; COLUMN_VALUE = 42; COLUMN_KEY = age; COLUMN_TIMESTAMP = 1241129537336; COLUMN_VALUE = Smith; COLUMN_KEY = last; COLUMN_TIMESTAMP = 1241129520503; COLUMN_VALUE = John; COLUMN_KEY = first;
