hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: RegExpRowFilter
Date Sun, 28 Feb 2010 01:28:57 GMT
Ted,

RegexStringComparator can be used with RowFilter 

http://hadoop.apache.org/hbase/docs/r0.20.3/api/org/apache/hadoop/hbase/filter/RowFilter.html

I believe this will accomplish what you want.

Best regards, 

   - Andy



----- Original Message ----
> From: Ted Yu <yuzhihong@gmail.com>
> To: hbase-user@hadoop.apache.org
> Sent: Sat, February 27, 2010 5:00:12 PM
> Subject: Re: RegExpRowFilter
> 
> RegexStringComparator is used to filter column values.
> I am looking for a class to filter row keys (in an export utility - HBase
> 2225).
> 
> Thanks
> 
> On Sat, Feb 27, 2010 at 2:19 PM, Dan Washusen wrote:
> 
> > Hi Ted,
> > Check out the RegexStringComparator class.
> >
> > Cheers,
> > Dan
> >
> > On 28 February 2010 04:05, Ted Yu wrote:
> >
> > > Hi,
> > > I use org.apache.hadoop.hbase.
> > > filter.PrefixFilter in my export utility.
> > > I like the flexibility of RegExpRowFilter but it cannot be used in
> > > Scan.setFilter(org.apache.hadoop.hbase.filter.Filter) call.
> > >
> > > Is there Filter implementation that does regex filtering ?
> > >
> > > Thanks
> > >
> >



      


Mime
View raw message