Package | Description |
---|---|
org.apache.calcite.rel.core |
Defines core relational expressions.
|
org.apache.calcite.rel.externalize |
Facilities to externalize
RelNode s to and from
XML and JSON format. |
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,
java.util.List<Window.RexWinAggCall> aggCalls) |
Modifier and Type | Method and Description |
---|---|
private RexWindowBound |
RelJson.toRexWindowBound(RelInput input,
java.util.Map<java.lang.String,java.lang.Object> map) |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
RelJson.toJson(RexWindowBound windowBound) |
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,
java.util.List<RexNode> exprs,
java.util.List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean physical,
boolean allowPartial,
boolean nullWhenCountZero,
boolean distinct)
Deprecated.
|
RexNode |
RexBuilder.makeOver(RelDataType type,
SqlAggFunction operator,
java.util.List<RexNode> exprs,
java.util.List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean physical,
boolean allowPartial,
boolean nullWhenCountZero,
boolean distinct,
boolean ignoreNulls)
Creates a call to a windowed agg.
|
RexWindow |
RexBuilder.makeWindow(java.util.List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
boolean isRows)
Creates a window specification.
|
Constructor and Description |
---|
RexWindow(java.util.List<RexNode> partitionKeys,
java.util.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(java.util.List<RexNode> partitionKeys,
com.google.common.collect.ImmutableList<RexFieldCollation> orderKeys,
RexWindowBound lowerBound,
RexWindowBound upperBound,
SqlWindow window,
boolean distinct,
boolean ignoreNulls) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.