public static class OverSpec.GroupSpec extends Object
OverSpec.GroupSpec
describes group of over aggregate calls that have the same window
specification.
The specification is defined by an upper and lower bound, and also has zero or more order-by columns.
This class corresponds to Window.Group
, but different
from Group, the partition spec is defined in OverSpec.
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_AGG_CALLS |
static String |
FIELD_NAME_IS_ROWS |
static String |
FIELD_NAME_LOWER_BOUND |
static String |
FIELD_NAME_SORT_SPEC |
static String |
FIELD_NAME_UPPER_BOUND |
Constructor and Description |
---|
GroupSpec(SortSpec sort,
boolean isRows,
org.apache.calcite.rex.RexWindowBound lowerBound,
org.apache.calcite.rex.RexWindowBound upperBound,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<org.apache.calcite.rel.core.AggregateCall> |
getAggCalls() |
org.apache.calcite.rex.RexWindowBound |
getLowerBound() |
SortSpec |
getSort() |
org.apache.calcite.rex.RexWindowBound |
getUpperBound() |
int |
hashCode() |
boolean |
isRows() |
String |
toString() |
public static final String FIELD_NAME_SORT_SPEC
public static final String FIELD_NAME_IS_ROWS
public static final String FIELD_NAME_LOWER_BOUND
public static final String FIELD_NAME_UPPER_BOUND
public static final String FIELD_NAME_AGG_CALLS
public SortSpec getSort()
public boolean isRows()
public org.apache.calcite.rex.RexWindowBound getLowerBound()
public org.apache.calcite.rex.RexWindowBound getUpperBound()
public List<org.apache.calcite.rel.core.AggregateCall> getAggCalls()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.