public class OverCall extends Expression implements scala.Product, scala.Serializable
param: agg over-agg expression param: partitionBy The fields by which the over window is partitioned param: orderBy The field by which the over window is sorted param: preceding The lower bound of the window param: following The upper bound of the window
Constructor and Description |
---|
OverCall(Expression agg,
scala.collection.Seq<Expression> partitionBy,
Expression orderBy,
Expression preceding,
Expression following) |
Modifier and Type | Method and Description |
---|---|
Expression |
agg() |
abstract static boolean |
canEqual(Object that) |
static boolean |
checkEquals(Expression other) |
scala.collection.Seq<Expression> |
children()
List of child nodes that should be considered when doing transformations.
|
static boolean |
childrenValid() |
abstract static boolean |
equals(Object that) |
static boolean |
fastEquals(TreeNode<?> other) |
Expression |
following() |
static A |
makeCopy(Object[] newArgs) |
Expression |
orderBy() |
scala.collection.Seq<Expression> |
partitionBy() |
static A |
postOrderTransform(scala.PartialFunction<A,A> rule) |
Expression |
preceding() |
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() |
TypeInformation<?> |
resultType()
Returns the
TypeInformation for evaluating this expression. |
org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Convert Expression to its counterpart in Calcite, i.e.
|
String |
toString() |
static boolean |
valid() |
ValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
checkEquals, childrenValid, valid
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public OverCall(Expression agg, scala.collection.Seq<Expression> partitionBy, Expression orderBy, Expression preceding, Expression following)
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 Expression agg()
public scala.collection.Seq<Expression> partitionBy()
public Expression orderBy()
public Expression preceding()
public Expression following()
public org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Expression
toRexNode
in class Expression
relBuilder
- (undocumented)public scala.collection.Seq<Expression> children()
TreeNode
children
in class TreeNode<Expression>
public TypeInformation<?> 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.