Package org.apache.calcite.rel.core
Class Window.RexWinAggCall
- java.lang.Object
-
- org.apache.calcite.rex.RexNode
-
- org.apache.calcite.rex.RexCall
-
- org.apache.calcite.rel.core.Window.RexWinAggCall
-
- Enclosing class:
- Window
public static class Window.RexWinAggCall extends RexCall
A call to a windowed aggregate function.Belongs to a
Window.Group
.It's a bastard son of a
RexCall
; similar enough that it gets visited by aRexVisitor
, but it also has some extra data members.
-
-
Constructor Summary
Constructors Constructor Description RexWinAggCall(SqlAggFunction aggFun, RelDataType type, java.util.List<RexNode> operands, int ordinal, boolean distinct)
Creates a RexWinAggCall.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RexCall
clone(RelDataType type, java.util.List<RexNode> operands)
Creates a new call to the same operator with different operands.boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.apache.calcite.rex.RexCall
accept, accept, computeDigest, getKind, getOperands, getOperator, getType, isAlwaysFalse, isAlwaysTrue, toString
-
-
-
-
Constructor Detail
-
RexWinAggCall
public RexWinAggCall(SqlAggFunction aggFun, RelDataType type, java.util.List<RexNode> operands, int ordinal, boolean distinct)
Creates a RexWinAggCall.- Parameters:
aggFun
- Aggregate functiontype
- Result typeoperands
- Operands to callordinal
- Ordinal within its partitiondistinct
- Eliminate duplicates before applying aggregate function
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Every node must implement
RexNode.equals(java.lang.Object)
based on its contentOverride
RexCall
, defining equality based on identity.
-
hashCode
public int hashCode()
Description copied from class:RexNode
Every node must implement
RexNode.hashCode()
consistent withRexNode.equals(java.lang.Object)
-
-