Package org.apache.druid.query.filter
Class NullFilter.NullPredicateFactory
- java.lang.Object
-
- org.apache.druid.query.filter.NullFilter.NullPredicateFactory
-
- All Implemented Interfaces:
DruidPredicateFactory
- Enclosing class:
- NullFilter
public static class NullFilter.NullPredicateFactory extends Object implements DruidPredicateFactory
-
-
Field Summary
Fields Modifier and Type Field Description static NullFilter.NullPredicateFactoryINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()DruidObjectPredicate<Object[]>makeArrayPredicate(TypeSignature<ValueType> arrayType)DruidDoublePredicatemakeDoublePredicate()DruidFloatPredicatemakeFloatPredicate()DruidLongPredicatemakeLongPredicate()DruidObjectPredicate<Object>makeObjectPredicate()Object predicate is currently only used by vectorized matchers for non-string object selectors.DruidObjectPredicate<String>makeStringPredicate()StringtoString()
-
-
-
Field Detail
-
INSTANCE
public static final NullFilter.NullPredicateFactory INSTANCE
-
-
Method Detail
-
makeStringPredicate
public DruidObjectPredicate<String> makeStringPredicate()
- Specified by:
makeStringPredicatein interfaceDruidPredicateFactory
-
makeLongPredicate
public DruidLongPredicate makeLongPredicate()
- Specified by:
makeLongPredicatein interfaceDruidPredicateFactory
-
makeFloatPredicate
public DruidFloatPredicate makeFloatPredicate()
- Specified by:
makeFloatPredicatein interfaceDruidPredicateFactory
-
makeDoublePredicate
public DruidDoublePredicate makeDoublePredicate()
- Specified by:
makeDoublePredicatein interfaceDruidPredicateFactory
-
makeArrayPredicate
public DruidObjectPredicate<Object[]> makeArrayPredicate(@Nullable TypeSignature<ValueType> arrayType)
- Specified by:
makeArrayPredicatein interfaceDruidPredicateFactory
-
makeObjectPredicate
public DruidObjectPredicate<Object> 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.
-
-