Package org.apache.druid.math.expr
Class ExpressionDruidPredicateFactory
java.lang.Object
org.apache.druid.math.expr.ExpressionDruidPredicateFactory
- All Implemented Interfaces:
DruidPredicateFactory
DruidPredicateFactory whose predicates evaluate an Expr on the input match value, turning the result
of that evaluation into a DruidPredicateMatch.UNKNOWN if the value is null, and if not,
using ExprEval.asBoolean() to produce DruidPredicateMatch.TRUE or DruidPredicateMatch.FALSE.-
Constructor Summary
ConstructorsConstructorDescriptionExpressionDruidPredicateFactory(Expr expr, ColumnCapabilities inputCapabilites) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()makeArrayPredicate(TypeSignature<ValueType> arrayType) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.query.filter.DruidPredicateFactory
makeObjectPredicate
-
Constructor Details
-
ExpressionDruidPredicateFactory
-
-
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
-
hashCode
public int hashCode() -
equals
-