public class Count extends Aggregation implements scala.Product, scala.Serializable
Constructor and Description |
---|
Count(Expression child) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(Object that) |
static boolean |
checkEquals(Expression other) |
Expression |
child() |
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) |
org.apache.calcite.sql.fun.SqlCountAggFunction |
getSqlAggFunction(org.apache.calcite.tools.RelBuilder relBuilder)
Returns the SqlAggFunction for this Aggregation.
|
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() |
BasicTypeInfo<Long> |
resultType()
Returns the
TypeInformation for evaluating this expression. |
org.apache.calcite.tools.RelBuilder.AggCall |
toAggCall(String name,
org.apache.calcite.tools.RelBuilder relBuilder)
Convert Aggregate to its counterpart in Calcite, i.e.
|
static org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder) |
String |
toString() |
static boolean |
valid() |
static ValidationResult |
validateInput() |
toRexNode
checkEquals, childrenValid, valid, validateInput
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Count(Expression child)
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 ValidationResult validateInput()
public static boolean checkEquals(Expression other)
public static org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
public Expression child()
public scala.collection.Seq<Expression> children()
TreeNode
children
in class TreeNode<Expression>
public String toString()
toString
in class Aggregation
public org.apache.calcite.tools.RelBuilder.AggCall toAggCall(String name, org.apache.calcite.tools.RelBuilder relBuilder)
Aggregation
toAggCall
in class Aggregation
name
- (undocumented)relBuilder
- (undocumented)public BasicTypeInfo<Long> resultType()
Expression
TypeInformation
for evaluating this expression.
It is sometimes not available until the expression is valid.resultType
in class Expression
public org.apache.calcite.sql.fun.SqlCountAggFunction getSqlAggFunction(org.apache.calcite.tools.RelBuilder relBuilder)
Aggregation
getSqlAggFunction
in class Aggregation
relBuilder
- (undocumented)Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.