hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahab Yunus <shahab.yu...@gmail.com>
Subject Re: Hbase compound filter support
Date Mon, 17 Aug 2015 20:26:49 GMT
As far as I know, yes. I think this is more flexible and gives you
arbitrarily more combinations.

Regards,
Shahab

On Mon, Aug 17, 2015 at 4:24 PM, <kannan.ramanathan@barclays.com> wrote:

> Thanks for the response.
>
> So, there's no out-of-box support for compound filter correct? The
> recommendation is to build something on top of FilterList?
>
> -----Original Message-----
> From: Shahab Yunus [mailto:shahab.yunus@gmail.com]
> Sent: Monday, August 17, 2015 16:17
> To: user@hbase.apache.org
> Subject: Re: Hbase compound filter support
>
> You can built nest Filter conditions using FilterLists of FilterList.
> FilterList implements the Filter interface so 'add' method will work.
>
> Have you checked that approach?
>
> Regards,
> Shahab
>
> On Mon, Aug 17, 2015 at 4:07 PM, <kannan.ramanathan@barclays.com> wrote:
>
> > Hello,
> >
> > Is there a Java API support for compound filter (a hierarchy of filters)?
> > What I mean by compound filter is:
> >
> > (Filter1 AND filter2) OR (Filter2 OR filter4)
> >
> > I believe (not sure though) there's something similar available on
> > Hbase shell.
> >
> > I understand there's already
> > org.apache.hadoop.hbase.filter.FilterList.FilterList which is a single
> > hierarchy model (Filter1 AND filter2).
> >
> > Thanks for your help in advance.
> >
> > Regards
> > Kannan.
> >
> > _______________________________________________
> >
> > This message is for information purposes only, it is not a
> > recommendation, advice, offer or solicitation to buy or sell a product
> > or service nor an official confirmation of any transaction. It is
> > directed at persons who are professionals and is not intended for
> > retail customer use. Intended for recipient only. This message is
> subject to the terms at:
> > www.barclays.com/emaildisclaimer.
> >
> > For important disclosures, please see:
> > www.barclays.com/salesandtradingdisclaimer regarding market commentary
> > from Barclays Sales and/or Trading, who are active market
> > participants; and in respect of Barclays Research, including
> > disclosures relating to specific issuers, please see
> http://publicresearch.barclays.com.
> >
> > _______________________________________________
> >
>
> _______________________________________________
>
> This message is for information purposes only, it is not a recommendation,
> advice, offer or solicitation to buy or sell a product or service nor an
> official confirmation of any transaction. It is directed at persons who are
> professionals and is not intended for retail customer use. Intended for
> recipient only. This message is subject to the terms at:
> www.barclays.com/emaildisclaimer.
>
> For important disclosures, please see:
> www.barclays.com/salesandtradingdisclaimer regarding market commentary
> from Barclays Sales and/or Trading, who are active market participants; and
> in respect of Barclays Research, including disclosures relating to specific
> issuers, please see http://publicresearch.barclays.com.
>
> _______________________________________________
>

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