Inline. On Sun, Sep 15, 2013 at 12:04 AM, abhinavpundir <[email protected]>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
