org.hbase.async
Class FilterList

java.lang.Object
  extended by org.hbase.async.ScanFilter
      extended by org.hbase.async.FilterList

public final class FilterList
extends ScanFilter

Combines a list of filters into one. Since 1.5


Nested Class Summary
static class FilterList.Operator
          Operator to combine the list of filters together.
 
Constructor Summary
FilterList(List<ScanFilter> filters)
          Constructor.
FilterList(List<ScanFilter> filters, FilterList.Operator op)
          Constructor.
 
Method Summary
 String toString()
           
 
Methods inherited from class org.hbase.async.ScanFilter
getFilterId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterList

public FilterList(List<ScanFilter> filters)
Constructor. Equivalent to FilterList(filters, FilterList.Operator.MUST_PASS_ALL)


FilterList

public FilterList(List<ScanFilter> filters,
                  FilterList.Operator op)
Constructor.

Parameters:
filters - The filters to combine. This list does not get copied, do not mutate it after passing it to this object.
op - The operator to use to combine the filters together.
Throws:
IllegalArgumentException - if the list of filters is empty.
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2015, The Async HBase Authors