My queries always on a single column family. But return columns will be
multiple from same family. In this case I don't think below issue impact our
results. Let me know if I am wrong.
scan 'test4',{STARTROW => '11645|1395288900', ENDROW => '11645|1398699000',
COLUMNS => ['cf1:foo','cf1:bar'],FILTER =>
"SingleColumnValueFilter('cf1','foo',=, 'binary:\"xxxxxxx\"')"}
scan.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("foo"));
scan.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("bar"));
Thanks,
Chandra
-----Original Message-----
From: Ted Yu [mailto:[email protected]]
Sent: Tuesday, May 06, 2014 5:50 PM
To: [email protected]
Cc: [email protected]
Subject: Re: How to get complete row?
For 0.96+, HBASE-10850 is needed for SingleColumnValueFilter to function
correctly.
This fix is in 0.98.2 whose RC is under vote.
Cheers
On May 6, 2014, at 2:34 AM, "Bogala, Chandra Reddy" <[email protected]>
wrote:
> I am able to solve by using SingleColumnValueFilter .
> Tx
>
> From: Bogala, Chandra Reddy [Tech]
> Sent: Tuesday, May 06, 2014 12:35 PM
> To: '[email protected]'
> Subject: How to get complete row?
>
> Hi,
> I have similar requirement like in below posted thread. I need to get
> complete row after applying value filter on single column value. Let know if
> anyone knows the solution.
> http://stackoverflow.com/questions/21636787/hbase-how-to-get-complete-rows-when-scanning-with-filters-by-qualifier-value
>
> Thanks,
> Chandra
>