net.sf.farrago.fennel.rel
Class FennelWindowRel.RexWinAggCall
java.lang.Object
org.eigenbase.rex.RexNode
org.eigenbase.rex.RexCall
net.sf.farrago.fennel.rel.FennelWindowRel.RexWinAggCall
- Enclosing class:
- FennelWindowRel
public static class FennelWindowRel.RexWinAggCall
- extends RexCall
A call to a windowed aggregate function.
Belongs to a FennelWindowRel.Partition
.
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.
Field Summary |
int |
ordinal
Ordinal of this aggregate within its partition. |
ordinal
public final int ordinal
- Ordinal of this aggregate within its partition.
FennelWindowRel.RexWinAggCall
public FennelWindowRel.RexWinAggCall(SqlAggFunction aggFun,
RelDataType type,
RexNode[] operands,
int ordinal)
- Creates a RexWinAggCall.
- Parameters:
aggFun
- Aggregate functiontype
- Result typeoperands
- Operands to callordinal
- Ordinal within its partition