hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrishna vasudevan <ramkrishna.s.vasude...@gmail.com>
Subject Re: PrefixFilter : not working for 'long' keys
Date Tue, 04 Dec 2012 14:32:58 GMT
Ok, what i think can be done is try writing a custom filter like
PreFixFilter and use a Comparator that compares long.

In case of SCVF it has a comparator passed to it.  So we can implement a
comparator that compares long and pass it to the constructor of SCVF.

Hope this helps.


On Tue, Dec 4, 2012 at 7:00 PM, Mohammad Tariq <dontariq@gmail.com> wrote:

> Hello list,
>     I am trying to use PrefixFilter on my table, whose rowkeys are of type
> 'long'. But I am getting all the rows in the result. And if use the same
> code on rowkeys of type 'String' it is working perfectly fine. Need some
> help.
> Many thanks.
> Regards,
>     Mohammad Tariq

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message