public class Minus extends BinaryArithmetic implements scala.Product, scala.Serializable
Constructor and Description |
---|
Minus(Expression left,
Expression right) |
Modifier and Type | Method and Description |
---|---|
Expression |
left() |
Expression |
right() |
org.apache.calcite.sql.SqlBinaryOperator |
sqlOperator() |
String |
toString() |
ValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
resultType, toRexNode
children
checkEquals, childrenValid, valid
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Minus(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 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.