public class Minus extends BinaryArithmetic implements scala.Product, scala.Serializable
Constructor and Description |
---|
Minus(Expression left,
Expression right) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(Object that) |
static boolean |
checkEquals(Expression other) |
static scala.collection.Seq<Expression> |
children() |
static boolean |
childrenValid() |
abstract static boolean |
equals(Object that) |
static boolean |
fastEquals(TreeNode<?> other) |
Expression |
left() |
static A |
makeCopy(Object[] newArgs) |
static A |
postOrderTransform(scala.PartialFunction<A,A> rule) |
static void |
preOrderVisit(scala.Function1<A,scala.runtime.BoxedUnit> f) |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
static TypeInformation<?> |
resultType() |
Expression |
right() |
org.apache.calcite.sql.SqlBinaryOperator |
sqlOperator() |
static org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder) |
String |
toString() |
static boolean |
valid() |
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 abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public static boolean fastEquals(TreeNode<?> other)
public static A postOrderTransform(scala.PartialFunction<A,A> rule)
public static void preOrderVisit(scala.Function1<A,scala.runtime.BoxedUnit> f)
public static A makeCopy(Object[] newArgs)
public static boolean valid()
public static boolean childrenValid()
public static boolean checkEquals(Expression other)
public static scala.collection.Seq<Expression> children()
public static org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
public static TypeInformation<?> resultType()
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–2018 The Apache Software Foundation. All rights reserved.