Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Row Filters using BitComparator


Copy link to this message
-
Re: Row Filters using BitComparator
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB