hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: ColumnSuffixFilter in HBase
Date Wed, 11 Feb 2015 05:48:14 GMT
Regex are more expensive that "basic" filters for sure. But it's a simple
solution. You can implement a ColumnSuffixFilter. If you keys are always
the same length, you can look at this:
https://hbase.apache.org/0.94/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html

JM

2015-02-11 0:44 GMT-05:00 hongbin ma <mahongbin@apache.org>:

> Will there be any performance issues ? i'm curious if there's an efficient
> way of implement such kind of filer.
>
> On Wed, Feb 11, 2015 at 1:39 PM, Alok Singh <aloksingh@gmail.com> wrote:
>
> > You could use a QualifierFilter with a RegexStringComparator to do the
> > same.
> >
> > Alok
> >
> > On Tue, Feb 10, 2015 at 7:23 PM, anil gupta <anilgupta84@gmail.com>
> wrote:
> > > Hi,
> > >
> > > I want to get all the columns of a row that ends with "xyz". I know
> there
> > > is ColumnPrefixFilter. Is there any other column filter in HBase that
> can
> > > help me simulate feature of suffix matching?
> > >
> > > In my opinion, ColumnSuffixFilter would be a good addition to Filters
> of
> > > HBase.
> > >
> > > --
> > > Thanks & Regards,
> > > Anil Gupta
> >
>

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