For example,
I have an iterative process which generates the key and inserts the key as
a RowFilter in a filter list.
For example:
for(String k:keys){
filterlist.addfilter(new RowFilter(EQ, BinaryComparator(k)))
}
Now if the list "keys" has same keys multiple times, we are adding the same
RowFilter to the FilterList multiple times. What is HBase doing in that
circumstance
Thanks & Regards
Biplob Biswas
On Fri, Jul 20, 2018 at 4:12 PM Ted Yu <[email protected]> wrote:
> Did you mean chaining the same row filter 'n' times using FilterList ?
> Is the row filter from hbase (RowFilter) ?
> What operator do you use (MUST_PASS_ALL or MUST_PASS_ONE) ?
>
> For second question, I wonder how filter set would handle the constituent
> filters differently from how FilterList handles them.
> Maybe by 'Set' you mean when any one of the constituent filters passes, the
> row is returned ?
>
> Cheers
>
> On Fri, Jul 20, 2018 at 4:45 AM Biplob Biswas <[email protected]>
> wrote:
>
> > What happens if I insert the same row filter 'n' times? Would the table
> be
> > queried n times with the same row key?
> >
> > Why is it that there is a filterList and not a filterSet?
> >
> > Thanks & Regards
> > Biplob Biswas
> >
>