Have you looked at RowFilter ?
There is also FuzzyRowFilter which is versatile.
On Wednesday, November 30, 2016 1:16 AM, Devender Yadav
<[email protected]> wrote:
Hi All,
HBase version: 1.2.2 (both server and Java API)
I am using SingleColumnValueFilter.
public SingleColumnValueFilter(byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator)
I am using org.apache.hadoop.hbase.filter.RegexStringComparator to perform LIKE
query on rowkey.
It's working fine with columns.
But it gives me all the records if I use rowkey instead of a column.?
Regards,
Devender
________________________________
NOTE: This message may contain information that is confidential, proprietary,
privileged or otherwise protected by law. The message is intended solely for
the named addressee. If received in error, please destroy and notify the
sender. Any use of this email is prohibited when received in error. Impetus
does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors,
virus, interception or interference.