| Modifier and Type | Field and Description |
|---|---|
private String |
digest |
private boolean |
isRows |
private RexWindowBound |
lowerBound |
com.google.common.collect.ImmutableList<RexFieldCollation> |
orderKeys |
com.google.common.collect.ImmutableList<RexNode> |
partitionKeys |
private RexWindowBound |
upperBound |
| Constructor and Description |
|---|
RexWindow(List<RexNode> partitionKeys,
List<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean isRows)
Creates a window.
|
| Modifier and Type | Method and Description |
|---|---|
private String |
computeDigest() |
boolean |
equals(Object that) |
RexWindowBound |
getLowerBound() |
RexWindowBound |
getUpperBound() |
int |
hashCode() |
boolean |
isRows() |
String |
toString() |
public final com.google.common.collect.ImmutableList<RexNode> partitionKeys
public final com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys
private final RexWindowBound lowerBound
private final RexWindowBound upperBound
private final boolean isRows
private final String digest
RexWindow(List<RexNode> partitionKeys, List<RexFieldCollation> orderKeys, RexWindowBound lowerBound, RexWindowBound upperBound, boolean isRows)
If you need to create a window from outside this package, use
RexBuilder.makeOver(org.apache.calcite.rel.type.RelDataType, org.apache.calcite.sql.SqlAggFunction, java.util.List<org.apache.calcite.rex.RexNode>, java.util.List<org.apache.calcite.rex.RexNode>, com.google.common.collect.ImmutableList<org.apache.calcite.rex.RexFieldCollation>, org.apache.calcite.rex.RexWindowBound, org.apache.calcite.rex.RexWindowBound, boolean, boolean, boolean, boolean).
private String computeDigest()
public RexWindowBound getLowerBound()
public RexWindowBound getUpperBound()
public boolean isRows()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.