In my mail I had actually used int rather than String as how you had used
inside the Filter
SingleColumnValueFilter filter1 = new
SingleColumnValueFilter(Bytes.toBytes("TRAN"),
Bytes.toBytes("TRAN_ID"),
CompareFilter.CompareOp.GREATER, new
BinaryComparator(Bytes.toBytes(1000)));
There is no '"' in the Bytes.toBytes
Regards
Ram
> -----Original Message-----
> From: sanky999 [mailto:[email protected]]
> Sent: Tuesday, May 08, 2012 6:15 PM
> To: [email protected]
> Subject: RE: HBase Between Filters
>
> @RamKrishna - I have inserted records as integer but when I go for
> filtering
> them using filters it still gives wrong data, I just apply filters as
> mentioned that's how the records should be picked, but the filter goes
> for
> toss.
>
> --
> View this message in context: http://apache-
> hbase.679495.n3.nabble.com/HBase-Between-Filters-tp3962242p3971220.html
> Sent from the HBase - Developer mailing list archive at Nabble.com.