, 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
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
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
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
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
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
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