convert hbase Result into an easy-to-parse string

2014-11-11 Thread Jian Feng
I see the 'Result' class has a toString() method. what I need is a serialized form of the object, so that I can process the key values later on. The problem I am trying to solve is that I need to convert the object to a string then transfer this string to Python, and then let Python codes to

Re: convert hbase Result into an easy-to-parse string

2014-11-11 Thread Ted Yu
Currently Result's toString() calls toString() method of each Cell (KeyValue) it contains. KeyValue's toString() method is implemented like this: return keyToString(this.bytes, this.offset + ROW_OFFSET, getKeyLength()) + /vlen= + getValueLength() + /seqid= + seqId; Meaning value is