It seems there are 3 components in the row key.
Assuming the 2nd and 3rd are integers, you can take a look at the following
method of Bytes:
public static byte[] toBytes(int val) {
which returns 4 byte long byte array.
You can use this knowledge to decode each component of the row key.
FYI
On
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: http://apache-hbase.679495.n3.nab
Congratulations
--
Sent from: http://apache-hbase.679495.n3.nabble.com/HBase-User-f4020416.html