hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: User of FilterList
Date Fri, 15 Jul 2011 20:54:50 GMT
It looks like it should work.  Have you tried it?
St.Ack

On Fri, Jul 15, 2011 at 11:45 AM, Arun Sanjay J <arunsanjay@gmail.com> wrote:
> Hi
> I have just started to use HBase and I am not familiar so much. I want to
> perform a filtering condition as below,
>
>         if A and ( B or C or D or.......) where A ,B,C,D will be filters.
>
> Kindly let me know if I can use the FilterList for the above case as below,
>
> FilterList list1 = new FilterList(Operator.MUST_PASS_ALL);
> FilterList list2 = new FilterList(Operator.MUST_PASS_ONE);
>
> list2.addFilter(B);
> list2.addFilter(C);
> list2.addFilter(D);
>
> list1.addFilter(A)
> list1.addFilter(list2);
>
> Basically I want to check whether A and one of B,C or D, conditions are met.
> Will this work as expected.?
>
> thanks
> Sanjay
>

Mime
View raw message