I have key design like:byte[] rowKey =
=Bytes.add(Bytes.toBytes("3"),Bytes.toBytes(customer_id),Bytes.toBytes(timestamp));
customer_id and timestamp are long type. As opentsdb uses:[…]I would like to
filter my key by customer_id and timestamp. How do I do that?I have tried
using prefixfilter.
So, it would be like manually getting 4 byte. Actually they are long.
--
Sent from: http://apache-hbase.679495.n3.nabble.com/HBase-User-f4020416.html
I have key in following format:
byte[] rowKey =
=Bytes.add(Bytes.toBytes("3"),Bytes.toBytes(98),Bytes.toBytes(1211));
It is stored as byte array.
How to decode it when using java?
Bytes.toString(CellUtil.cloneRow(cell))
results in a�~��
--
Sent from:
Congratulations
--
Sent from: http://apache-hbase.679495.n3.nabble.com/HBase-User-f4020416.html