Class ArrayVectorValueMatcher
- java.lang.Object
-
- org.apache.druid.query.filter.vector.ArrayVectorValueMatcher
-
- All Implemented Interfaces:
VectorValueMatcherFactory
public class ArrayVectorValueMatcher extends Object implements VectorValueMatcherFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected TypeSignature<ValueType>
columnType
protected VectorObjectSelector
selector
-
Constructor Summary
Constructors Constructor Description ArrayVectorValueMatcher(TypeSignature<ValueType> columnType, VectorObjectSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorValueMatcher
makeMatcher(Object matchValue, ColumnType matchValueType)
Specialized value matcher for equality used byEqualityFilter
.VectorValueMatcher
makeMatcher(String value)
Specialized value matcher for string equality used bySelectorDimFilter
VectorValueMatcher
makeMatcher(DruidPredicateFactory predicateFactory)
-
-
-
Field Detail
-
columnType
protected final TypeSignature<ValueType> columnType
-
selector
protected final VectorObjectSelector selector
-
-
Constructor Detail
-
ArrayVectorValueMatcher
public ArrayVectorValueMatcher(TypeSignature<ValueType> columnType, VectorObjectSelector selector)
-
-
Method Detail
-
makeMatcher
public VectorValueMatcher makeMatcher(@Nullable String value)
Description copied from interface:VectorValueMatcherFactory
Specialized value matcher for string equality used bySelectorDimFilter
- Specified by:
makeMatcher
in interfaceVectorValueMatcherFactory
-
makeMatcher
public VectorValueMatcher makeMatcher(Object matchValue, ColumnType matchValueType)
Description copied from interface:VectorValueMatcherFactory
Specialized value matcher for equality used byEqualityFilter
. The matchValue parameter must be the appropriate Java type for the matchValueTypeColumnType
. Implementors can use this information to coerce the match value to the native type of the values to match against as necessary.- Specified by:
makeMatcher
in interfaceVectorValueMatcherFactory
-
makeMatcher
public VectorValueMatcher makeMatcher(DruidPredicateFactory predicateFactory)
- Specified by:
makeMatcher
in interfaceVectorValueMatcherFactory
-
-