| Package | Description |
|---|---|
| org.apache.calcite.rel.core |
Defines core 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 | Method and Description |
|---|---|
static RelCollation |
Window.getCollation(List<RexFieldCollation> collations) |
| Modifier and Type | Method and Description |
|---|---|
private SqlNode |
SqlImplementor.Context.toSql(RexProgram program,
RexFieldCollation rfc) |
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.ImmutableList<RexFieldCollation> |
RexWindow.orderKeys |
| Modifier and Type | Method and Description |
|---|---|
protected List<RexFieldCollation> |
RexShuttle.visitFieldCollations(List<RexFieldCollation> collations,
boolean[] update)
Visits each of a list of field collations and returns a list of the
results.
|
| 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.
|
protected List<RexFieldCollation> |
RexShuttle.visitFieldCollations(List<RexFieldCollation> collations,
boolean[] update)
Visits each of a list of field collations and returns a list of the
results.
|
| 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 com.google.common.collect.ImmutableList<RexFieldCollation> |
SqlToRelConverter.HistogramShuttle.orderKeys |
| 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.