| Constructor and Description |
|---|
InFilter(String dimension,
Set<String> values,
com.google.common.base.Supplier<DruidLongPredicate> longPredicateSupplier,
ExtractionFn extractionFn) |
| Modifier and Type | Method and Description |
|---|---|
com.metamx.collections.bitmap.ImmutableBitmap |
getBitmapIndex(BitmapIndexSelector selector)
Get a bitmap index, indicating rows that match this filter.
|
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.
|
public InFilter(String dimension, Set<String> values, com.google.common.base.Supplier<DruidLongPredicate> longPredicateSupplier, ExtractionFn extractionFn)
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 boolean supportsBitmapIndex(BitmapIndexSelector selector)
FiltersupportsBitmapIndex in interface Filterselector - Object used to retrieve bitmap indexesCopyright © 2011–2016. All rights reserved.