One would think the method would be called 'getRowKey' instead of getRow.

-Pete

On Mon, 27 Dec 2010 23:58:42 -0800, Ryan Rawson <[email protected]> wrote:

you got it!!!

On Mon, Dec 27, 2010 at 11:51 PM, Pete Haidinyak <[email protected]> wrote:
Ah, so, it's the getRow which returns a byte array which is the actual Row
Key.

Thanks

-Pete

On Mon, 27 Dec 2010 23:42:58 -0800, Ryan Rawson <[email protected]> wrote:

During a scan, each iteration of Scanner.next() returns a Result
object which gives you the row key.  Check the javadoc!

-ryan

On Mon, Dec 27, 2010 at 11:40 PM, Pete Haidinyak <[email protected]> wrote:

Hi,
 Is there a way to get the Row Key for the result from a Scanner? I've
seen
examples where you get the bytes for the row and extract the row key from
there but my keys are of random lenght.

Thanks

-Pete





Reply via email to