hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmozah <jmo...@gmail.com>
Subject Re: Substring comparator for column key
Date Tue, 21 Aug 2012 15:00:56 GMT
For filtering rows based on column key ( i hope that's what you asked), there is no direct
filter as far as i know.
But i think you can use "ColumnPrefixFilter" which selects only those keys whose column name
matches a particular prefix (some sort of substring matching using regex).   

HBase Musings

On 21-Aug-2012, at 3:27 PM, Shagun Agarwal <shagun@yahoo-inc.com> wrote:

> Hi,
> There is SubstringComparator which can be used with SingleColumnValueFilter for substring
filter however this works for key value. Is there any way to do a substring filtering for
column key?
> Thanks
> Shagun

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