Package org.apache.druid.query.filter
Class EqualityFilter.EqualityPredicateFactory
java.lang.Object
org.apache.druid.query.filter.EqualityFilter.EqualityPredicateFactory
- All Implemented Interfaces:
DruidPredicateFactory
- Enclosing class:
EqualityFilter
public static class EqualityFilter.EqualityPredicateFactory
extends Object
implements DruidPredicateFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()makeArrayPredicate(TypeSignature<ValueType> arrayType) Object predicate is currently only used by vectorized matchers for non-string object selectors.
-
Constructor Details
-
EqualityPredicateFactory
-
-
Method Details
-
makeStringPredicate
- Specified by:
makeStringPredicatein interfaceDruidPredicateFactory
-
makeLongPredicate
- Specified by:
makeLongPredicatein interfaceDruidPredicateFactory
-
makeFloatPredicate
- Specified by:
makeFloatPredicatein interfaceDruidPredicateFactory
-
makeDoublePredicate
- Specified by:
makeDoublePredicatein interfaceDruidPredicateFactory
-
makeArrayPredicate
public DruidObjectPredicate<Object[]> makeArrayPredicate(@Nullable TypeSignature<ValueType> arrayType) - Specified by:
makeArrayPredicatein interfaceDruidPredicateFactory
-
makeObjectPredicate
Description copied from interface:DruidPredicateFactoryObject predicate is currently only used by vectorized matchers for non-string object selectors. This currently means it will be used only if we encounter COMPLEX types, but will also include array types once they are more supported throughout the query engines. To preserve behavior with non-vectorized matchers which use a string predicate with null inputs for these 'nil' matchers, we do the same thing here.- Specified by:
makeObjectPredicatein interfaceDruidPredicateFactory- See Also:
-
equals
-
hashCode
public int hashCode()
-