Class ObjectVectorValueMatcher

java.lang.Object
org.apache.druid.query.filter.vector.ObjectVectorValueMatcher
All Implemented Interfaces:
VectorValueMatcherFactory

public class ObjectVectorValueMatcher extends Object implements VectorValueMatcherFactory
Generic object matcher on top of a VectorObjectSelector. String object selectors specifically should use StringObjectVectorValueMatcher instead. Note that this matcher currently will always behave as a nil matcher when used with a string matcher, since there is not enough machinery in place to allow custom comparison of string values against arbitrary array or complex types. In other words, how do we compare a string value from a selector filter against an array or a sketch? The short answer is we can't right now. Perhaps complex type serde could be extended to provide a string matcher to handle the complex type case? For array types, we might consider creating a different filter (which would also be an option for complex 'selectors'), or extending selector to support arrays of values.