public class OrFilter extends Object implements BooleanFilter
| Modifier and Type | Method and Description |
|---|---|
com.metamx.collections.bitmap.ImmutableBitmap |
getBitmapIndex(BitmapIndexSelector selector)
Get a bitmap index, indicating rows that match this filter.
|
List<Filter> |
getFilters() |
ValueMatcher |
makeMatcher(BitmapIndexSelector selector,
ValueMatcherFactory valueMatcherFactory,
RowOffsetMatcherFactory rowOffsetMatcherFactory)
Get a ValueMatcher that applies this filter to row values.
|
ValueMatcher |
makeMatcher(ValueMatcherFactory factory)
Get a ValueMatcher that applies this filter to row values.
|
boolean |
supportsBitmapIndex(BitmapIndexSelector selector)
Indicates whether this filter can return a bitmap index for filtering, based on
the information provided by the input BitmapIndexSelector.
|
String |
toString() |
public com.metamx.collections.bitmap.ImmutableBitmap getBitmapIndex(BitmapIndexSelector selector)
FiltergetBitmapIndex in interface Filterselector - Object used to retrieve bitmap indexespublic ValueMatcher makeMatcher(ValueMatcherFactory factory)
FiltermakeMatcher in interface Filterfactory - Object used to create ValueMatcherspublic ValueMatcher makeMatcher(BitmapIndexSelector selector, ValueMatcherFactory valueMatcherFactory, RowOffsetMatcherFactory rowOffsetMatcherFactory)
BooleanFiltermakeMatcher in interface BooleanFilterselector - Object used to retrieve bitmap indexesvalueMatcherFactory - Object used to create ValueMatchersrowOffsetMatcherFactory - Object used to create RowOffsetMatcherspublic List<Filter> getFilters()
getFilters in interface BooleanFilterpublic boolean supportsBitmapIndex(BitmapIndexSelector selector)
FiltersupportsBitmapIndex in interface Filterselector - Object used to retrieve bitmap indexesCopyright © 2011–2016. All rights reserved.