public class Count extends Aggregation implements scala.Product, scala.Serializable
Constructor and Description |
---|
Count(Expression child) |
Modifier and Type | Method and Description |
---|---|
Expression |
child() |
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.
|
String |
toString() |
toRexNode
children
checkEquals, childrenValid, valid, validateInput
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Count(Expression child)
public Expression child()
child
in class UnaryExpression
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
public BasicTypeInfo<Long> resultType()
Expression
TypeInformation
for evaluating this expression.
It is sometimes not available until the expression is valid.resultType
in class Expression
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.