| Package | Description |
|---|---|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.rel2sql |
Translates a relational expression to SQL parse tree.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Field and Description |
|---|---|
RexWindowBound |
Window.Group.lowerBound |
RexWindowBound |
Window.Group.upperBound |
| Constructor and Description |
|---|
Group(ImmutableBitSet keys,
boolean isRows,
RexWindowBound lowerBound,
RexWindowBound upperBound,
RelCollation orderKeys,
List<Window.RexWinAggCall> aggCalls) |
| Modifier and Type | Field and Description |
|---|---|
private RexWindowBound |
LogicalWindow.WindowKey.lowerBound |
private RexWindowBound |
LogicalWindow.WindowKey.upperBound |
| Constructor and Description |
|---|
WindowKey(ImmutableBitSet groupSet,
RelCollation orderKeys,
boolean isRows,
RexWindowBound lowerBound,
RexWindowBound upperBound) |
| Modifier and Type | Method and Description |
|---|---|
private SqlNode |
SqlImplementor.Context.createSqlWindowBound(RexWindowBound rexWindowBound) |
| Modifier and Type | Class and Description |
|---|---|
private static class |
RexWindowBound.RexWindowBoundBounded
Implements XX PRECEDING/FOLLOWING bound where XX is not UNBOUNDED.
|
private static class |
RexWindowBound.RexWindowBoundCurrentRow
Implements CURRENT ROW bound.
|
private static class |
RexWindowBound.RexWindowBoundUnbounded
Implements UNBOUNDED PRECEDING/FOLLOWING bound.
|
| Modifier and Type | Field and Description |
|---|---|
private RexWindowBound |
RexWindow.lowerBound |
private RexWindowBound |
RexWindow.upperBound |
| Modifier and Type | Method and Description |
|---|---|
<R> RexWindowBound |
RexWindowBound.accept(RexVisitor<R> visitor)
Transforms the bound via
RexVisitor. |
<R> RexWindowBound |
RexWindowBound.RexWindowBoundBounded.accept(RexVisitor<R> visitor) |
static RexWindowBound |
RexWindowBound.create(SqlNode node,
RexNode rexNode)
Creates window bound.
|
RexWindowBound |
RexWindow.getLowerBound() |
RexWindowBound |
RexWindow.getUpperBound() |
| Modifier and Type | Method and Description |
|---|---|
RexNode |
RexBuilder.makeOver(RelDataType type,
SqlAggFunction operator,
List<RexNode> exprs,
List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean physical,
boolean allowPartial,
boolean nullWhenCountZero,
boolean distinct)
Creates a call to a windowed agg.
|
RexWindow |
RexBuilder.makeWindow(List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean isRows)
Creates a window specification.
|
| Constructor and Description |
|---|
RexWindow(List<RexNode> partitionKeys,
List<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean isRows)
Creates a window.
|
| Modifier and Type | Field and Description |
|---|---|
private RexWindowBound |
SqlToRelConverter.HistogramShuttle.lowerBound |
private RexWindowBound |
SqlToRelConverter.HistogramShuttle.upperBound |
| Constructor and Description |
|---|
HistogramShuttle(List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
SqlWindow window,
boolean distinct) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.