Package org.apache.druid.query.filter
Class FilterBundle.SimpleMatcherBundle
java.lang.Object
org.apache.druid.query.filter.FilterBundle.SimpleMatcherBundle
- All Implemented Interfaces:
FilterBundle.MatcherBundle
- Enclosing class:
- FilterBundle
public static class FilterBundle.SimpleMatcherBundle
extends Object
implements FilterBundle.MatcherBundle
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleMatcherBundle(FilterBundle.MatcherBundleInfo matcherInfo, Function<ColumnSelectorFactory, ValueMatcher> matcherFn, Function<VectorColumnSelectorFactory, VectorValueMatcher> vectorMatcherFn, boolean canVectorize) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalueMatcher(ColumnSelectorFactory selectorFactory, Offset baseOffset, boolean descending) vectorMatcher(VectorColumnSelectorFactory selectorFactory, ReadableVectorOffset baseOffset)
-
Constructor Details
-
SimpleMatcherBundle
public SimpleMatcherBundle(FilterBundle.MatcherBundleInfo matcherInfo, Function<ColumnSelectorFactory, ValueMatcher> matcherFn, Function<VectorColumnSelectorFactory, VectorValueMatcher> vectorMatcherFn, boolean canVectorize)
-
-
Method Details
-
getMatcherInfo
- Specified by:
getMatcherInfoin interfaceFilterBundle.MatcherBundle
-
valueMatcher
public ValueMatcher valueMatcher(ColumnSelectorFactory selectorFactory, Offset baseOffset, boolean descending) - Specified by:
valueMatcherin interfaceFilterBundle.MatcherBundle
-
vectorMatcher
public VectorValueMatcher vectorMatcher(VectorColumnSelectorFactory selectorFactory, ReadableVectorOffset baseOffset) - Specified by:
vectorMatcherin interfaceFilterBundle.MatcherBundle
-
canVectorize
public boolean canVectorize()- Specified by:
canVectorizein interfaceFilterBundle.MatcherBundle
-