public static class Window.RexWinAggCall
extends org.apache.calcite.rex.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.
|
boolean |
ignoreNulls
Whether to ignore nulls.
|
int |
ordinal
Ordinal of this aggregate within its partition.
|
Constructor and Description |
---|
RexWinAggCall(org.apache.calcite.sql.SqlAggFunction aggFun,
org.apache.calcite.rel.type.RelDataType type,
List<org.apache.calcite.rex.RexNode> operands,
int ordinal,
boolean distinct)
Deprecated.
|
RexWinAggCall(org.apache.calcite.sql.SqlAggFunction aggFun,
org.apache.calcite.rel.type.RelDataType type,
List<org.apache.calcite.rex.RexNode> operands,
int ordinal,
boolean distinct,
boolean ignoreNulls)
Creates a RexWinAggCall.
|
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rex.RexCall |
clone(org.apache.calcite.rel.type.RelDataType type,
List<org.apache.calcite.rex.RexNode> operands) |
boolean |
equals(@Nullable Object o) |
int |
hashCode() |
public final int ordinal
public final boolean distinct
public final boolean ignoreNulls
@Deprecated public RexWinAggCall(org.apache.calcite.sql.SqlAggFunction aggFun, org.apache.calcite.rel.type.RelDataType type, List<org.apache.calcite.rex.RexNode> operands, int ordinal, boolean distinct)
public RexWinAggCall(org.apache.calcite.sql.SqlAggFunction aggFun, org.apache.calcite.rel.type.RelDataType type, List<org.apache.calcite.rex.RexNode> operands, int ordinal, boolean distinct, boolean ignoreNulls)
aggFun
- Aggregate functiontype
- Result typeoperands
- Operands to callordinal
- Ordinal within its partitiondistinct
- Eliminate duplicates before applying aggregate functionpublic boolean equals(@Nullable Object o)
equals
in class org.apache.calcite.rex.RexCall
public int hashCode()
hashCode
in class org.apache.calcite.rex.RexCall
public org.apache.calcite.rex.RexCall clone(org.apache.calcite.rel.type.RelDataType type, List<org.apache.calcite.rex.RexNode> operands)
clone
in class org.apache.calcite.rex.RexCall
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.