public static class Window.RexWinAggCall extends RexCall
Belongs to a Window.Group.
It's a bastard son of a RexCall; similar
enough that it gets visited by a RexVisitor,
but it also has some extra data members.
| Modifier and Type | Field and Description |
|---|---|
boolean |
distinct
Whether to eliminate duplicates before applying aggregate function.
|
int |
ordinal
Ordinal of this aggregate within its partition.
|
| Constructor and Description |
|---|
RexWinAggCall(SqlAggFunction aggFun,
RelDataType type,
List<RexNode> operands,
int ordinal,
boolean distinct)
Creates a RexWinAggCall.
|
| Modifier and Type | Method and Description |
|---|---|
RexCall |
clone(RelDataType type,
List<RexNode> operands)
Creates a new call to the same operator with different operands.
|
accept, accept, computeDigest, getKind, getOperands, getOperator, getType, isAlwaysFalse, isAlwaysTrue, toStringpublic final int ordinal
public final boolean distinct
public RexWinAggCall(SqlAggFunction aggFun, RelDataType type, List<RexNode> operands, int ordinal, boolean distinct)
aggFun - Aggregate functiontype - Result typeoperands - Operands to callordinal - Ordinal within its partitiondistinct - Eliminate duplicates before applying aggregate functionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.