Row_key from sstable2json to actual value of the key

2014-04-03 Thread ng
sstable2json tomcat-t5-ic-1-Data.db -e gives me 0021 001f 0020 How do I convert this (hex) to actual value of column so I can do below select * from tomcat.t5 where c1='concerted value'; Thanks in advance for the help.

Re: Row_key from sstable2json to actual value of the key

2014-04-03 Thread Colin Blower
Hey ng, You can use CQL and Cassandra do the conversion if you would like. If your table uses int type keys: > select * from tomcat.tx where c1 = blobAsInt(0x0021); The relevant section of the CQL3 docs are here: http://cassandra.apache.org/doc/cql3/CQL.html#blobFun You can use blobAs... for