Differences between revisions 2 and 3
Revision 2 as of 2011-04-15 22:24:12
Size: 680
Editor: chello084115131198
Revision 3 as of 2013-11-13 21:12:26
Size: 741
Editor: 50
Comment: statcounter
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:


CLI Tricks

You should be aware that using the right assumption for you column family keys is 'key' for the CLI to work correctly. None of the data retrieval/manipulation commands will work as expected if the key assumption is wrong.

Retrieve by UUID

If you are using the com.eaio.uuid.UUID as your entity primary key and would like to use the cassandra CLI to query your entity, you have to change the assumption for the key type for that column familiy to lexicaluuid or timeuuid using

  • assume COLFAM keys as lexicaluuid

After that you can retrieve your entity values with something like

  • get COLFAM['fefcc560-67a8-11e0-bde0-c232b2516aea'];


DatanucleusJDO (last edited 2013-11-13 21:12:26 by 50)