Re: Null rowkey with empty get operation

2012-05-29 Thread Ben Kim
, 2012 6:42 AM To: user@hbase.apache.org Subject: Null rowkey with empty get operation I have following Get code with HBase 0.92.0 Get get = new Get(Bytes.toBytes(rowkey)); get.addFamily(family); Filter filter = new QualifierFilter(CompareOp.NOT_EQUAL, new BinaryComparator(item

Re: Null rowkey with empty get operation

2012-05-29 Thread lars hofhansl
Hi Ben, check with Result.isEmpty(). If that returns true the Result object has no results. -- Lars From: Ben Kim benkimkim...@gmail.com To: user@hbase.apache.org Sent: Tuesday, May 29, 2012 12:34 AM Subject: Re: Null rowkey with empty get operation Maybe

RE: Null rowkey with empty get operation

2012-05-29 Thread Anoop Sam John
on result.getRow (). Agree that this wont be straight forward considering the app code. -Anoop- From: Ben Kim [benkimkim...@gmail.com] Sent: Tuesday, May 29, 2012 1:04 PM To: user@hbase.apache.org Subject: Re: Null rowkey with empty get operation Maybe I showed you

Re: Null rowkey with empty get operation

2012-05-29 Thread Ben Kim
PM To: user@hbase.apache.org Subject: Re: Null rowkey with empty get operation Maybe I showed you a bad example. This makes more sense when it comes to using ListGet For instance, ListGet gets = new ArrayList(); for(String rowkey : rowkeys){ Get get = new Get(Bytes.toBytes(rowkey

Re: Null rowkey with empty get operation

2012-05-29 Thread N Keywal
with empty get operation I have following Get code with HBase 0.92.0 Get get = new Get(Bytes.toBytes(rowkey)); get.addFamily(family); Filter filter = new QualifierFilter(CompareOp.NOT_EQUAL, new BinaryComparator(item)); get.setFilter(filter); Result r = table.get(get); System.out.println(r

Null rowkey with empty get operation

2012-05-28 Thread Ben Kim
I have following Get code with HBase 0.92.0 Get get = new Get(Bytes.toBytes(rowkey)); get.addFamily(family); Filter filter = new QualifierFilter(CompareOp.NOT_EQUAL, new BinaryComparator(item)); get.setFilter(filter); Result r = table.get(get); System.out.println(r); // (1) prints

RE: Null rowkey with empty get operation

2012-05-28 Thread Anoop Sam John
you try to find the rowkey from the result object? -Anoop- From: Ben Kim [benkimkim...@gmail.com] Sent: Tuesday, May 29, 2012 6:42 AM To: user@hbase.apache.org Subject: Null rowkey with empty get operation I have following Get code with HBase 0.92.0 Get