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 >> Rowkey Filter Padding 1 byte?


Copy link to this message
-
Re: Rowkey Filter Padding 1 byte?
Hi Mingtao,

You can use Fuzzy filter for this, or regular expression.

You can take a look here:
https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html

Fuzzy might not be able to match your last byte variation. You might need
the Regex filter for that:
RowFilter rowFilter = new RowFilter(CompareOp.EQUAL, regExString);

JM
2014-07-23 14:39 GMT-04:00 Mingtao Zhang <[EMAIL PROTECTED]>:
 
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