Class BooleanVectorValueMatcher
java.lang.Object
org.apache.druid.query.filter.vector.BaseVectorValueMatcher
org.apache.druid.query.filter.vector.BooleanVectorValueMatcher
- All Implemented Interfaces:
VectorValueMatcher,VectorSizeInspector
-
Method Summary
Modifier and TypeMethodDescriptionmatch(ReadableVectorMatch mask, boolean includeUnknown) Examine the current vector and return a match indicating what is accepted.static BooleanVectorValueMatcherof(VectorSizeInspector selector, ConstantMatcherType matcherType) Methods inherited from class org.apache.druid.query.filter.vector.BaseVectorValueMatcher
getCurrentVectorSize, getMaxVectorSize
-
Method Details
-
of
public static BooleanVectorValueMatcher of(VectorSizeInspector selector, ConstantMatcherType matcherType) -
match
Description copied from interface:VectorValueMatcherExamine the current vector and return a match indicating what is accepted.Does not modify "mask".
- Parameters:
mask- must not be null; useVectorMatch.allTrue(int)if you don't need a mask.includeUnknown- mapping for Druid native two state logic system into SQL three-state logic system. If set to true, match vectors returned by this method should include true values wherever the matching result is 'unknown', such as from the input being null valued.- Returns:
- the subset of "mask" that this value matcher accepts. May be the same instance as if every row in the mask matches the filter.
-