public class ObjectVectorValueMatcher extends Object implements VectorValueMatcherFactory
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.| Modifier and Type | Field and Description |
|---|---|
protected VectorObjectSelector |
selector |
| Constructor and Description |
|---|
ObjectVectorValueMatcher(VectorObjectSelector selector) |
| Modifier and Type | Method and Description |
|---|---|
VectorValueMatcher |
makeMatcher(DruidPredicateFactory predicateFactory) |
VectorValueMatcher |
makeMatcher(String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeNullValueMatcherprotected final VectorObjectSelector selector
public ObjectVectorValueMatcher(VectorObjectSelector selector)
public VectorValueMatcher makeMatcher(@Nullable String value)
makeMatcher in interface VectorValueMatcherFactorypublic VectorValueMatcher makeMatcher(DruidPredicateFactory predicateFactory)
makeMatcher in interface VectorValueMatcherFactoryCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.