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 ArinSarkissian: http://wiki.apache.org/cassandra/ThriftInterface The comment on the change is: show new struct based API usage - not done yet, just modifying insert for now ------------------------------------------------------------------------------ To get started, we'll insert some data into the `users` table: {{{ - > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'base_attributes:email' '[email protected]' 0 False + > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' "ColumnPath('base_attributes', None, 'email')" '[email protected]' 0 False None - > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'base_attributes:age' '25' 0 False + > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' "ColumnPath('base_attributes', None, 'age')" '25' 0 False None - > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:friends:2' '1' 0 False + > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' "ColumnPath('edges', 'friends', '2')" '1' 0 False None - > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:friends:4' '1' 0 False + > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' "ColumnPath('edges', 'friends', '4')" '1' 0 False None - > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' 'edges:groups:1' '1' 0 False + > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '1' "ColumnPath('edges', 'groups', '1')" '1' 0 False None - > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '2' 'base_attributes:email' '[email protected]' 0 False + > ./Cassandra-remote -h <hostname>:<ThriftPort> insert 'users' '2' "ColumnPath('base_attributes', None, 'email')" '[email protected]' 0 False None }}}
