public abstract class BinaryComparison extends BinaryExpression
Constructor and Description |
---|
BinaryComparison() |
Modifier and Type | Method and Description |
---|---|
BasicTypeInfo<Boolean> |
resultType()
Returns the
TypeInformation for evaluating this expression. |
abstract org.apache.calcite.sql.SqlOperator |
sqlOperator() |
org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Convert Expression to its counterpart in Calcite, i.e.
|
ValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
children, left, right
checkEquals, childrenValid, valid
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract org.apache.calcite.sql.SqlOperator sqlOperator()
public org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Expression
toRexNode
in class Expression
relBuilder
- (undocumented)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 ValidationResult 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–2018 The Apache Software Foundation. All rights reserved.