public abstract class BinaryPredicate extends BinaryExpression
Constructor and Description |
---|
BinaryPredicate() |
Modifier and Type | Method and Description |
---|---|
BasicTypeInfo<Boolean> |
resultType()
Returns the
TypeInformation for evaluating this expression. |
ExprValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
children, left, right
checkEquals, childrenValid, toRexNode, valid
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BasicTypeInfo<Boolean> resultType()
Expression
TypeInformation
for evaluating this expression.
It is sometimes not available until the expression is valid.resultType
in class Expression
public ExprValidationResult validateInput()
Expression
ValidationSuccess
if it pass the check,
or ValidationFailure
with supplement message explaining the error.
Note: we should only call this method until childrenValid == true
validateInput
in class Expression
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.