Package org.apache.druid.query.filter
Interface ValueMatcher
- All Superinterfaces:
HotLoopCallee
An object that returns a boolean indicating if the "current" row should be selected or not. The most prominent use
of this interface is that it is returned by the
Filter "makeMatcher" method, where it is used to identify
selected rows for filtered cursors and filtered aggregators.-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(boolean includeUnknown) Returns true if the current row matches the condition.Methods inherited from interface org.apache.druid.query.monomorphicprocessing.HotLoopCallee
inspectRuntimeShape
-
Method Details
-
matches
Returns true if the current row matches the condition.- Parameters:
includeUnknown- mapping for Druid native two state logic system into SQL three-state logic system. If set to true, this method should also return true if the matching result is 'unknown', such as from the input being null valued..- Returns:
- true if the current row matches the condition, or is unknown and
includeUnknownis set to true
-