hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: Row Filters using BitComparator
Date Mon, 16 Sep 2013 01:30:57 GMT
Inline.

On Sun, Sep 15, 2013 at 12:04 AM, abhinavpundir <abhinavmasters@gmail.com>wrote:

> I have rows in my Hbase whose keys are made up of 5 components. I would
> like
> to search my hbase using rowFilters by using only some(May be only the
> first
> 2 components ) of the components. I don't want to use
> RegexStringComparator.
>
> If you are using the first two components(i.e. prefix of the rowkey) then
you can use PrefixFilter(
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/PrefixFilter.html).
Also, dont forget to set startRow and StopRow.

> I would like to use BitComparator because it is fast.
>
> how would I do that?
>
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Row-Filters-using-BitComparator-tp4050739.html
> Sent from the HBase User mailing list archive at Nabble.com.
>



-- 
Thanks & Regards,
Anil Gupta

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