public class Plus extends BinaryArithmetic implements scala.Product, scala.Serializable
Constructor and Description |
---|
Plus(Expression left,
Expression right) |
Modifier and Type | Method and Description |
---|---|
Expression |
left() |
Expression |
right() |
org.apache.calcite.sql.SqlBinaryOperator |
sqlOperator() |
org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Convert Expression to its counterpart in Calcite, i.e.
|
String |
toString() |
ValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
resultType
children
checkEquals, childrenValid, valid
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Plus(Expression left, Expression right)
public Expression left()
left
in class BinaryExpression
public Expression right()
right
in class BinaryExpression
public org.apache.calcite.sql.SqlBinaryOperator sqlOperator()
sqlOperator
in class BinaryArithmetic
public org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Expression
toRexNode
in class BinaryArithmetic
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 BinaryArithmetic
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.