Package | Description |
---|---|
org.apache.calcite.rel.rel2sql |
Translates a relational expression to SQL parse tree.
|
org.apache.calcite.sql |
Provides a SQL parser and object model.
|
org.apache.calcite.sql.validate |
SQL validation.
|
org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
Modifier and Type | Method and Description |
---|---|
private SqlCall |
SqlImplementor.Context.createOverCall(SqlAggFunction op,
java.util.List<SqlNode> operands,
SqlWindow window) |
Modifier and Type | Method and Description |
---|---|
static SqlWindow |
SqlWindow.create(SqlIdentifier declName,
SqlIdentifier refName,
SqlNodeList partitionList,
SqlNodeList orderList,
SqlLiteral isRows,
SqlNode lowerBound,
SqlNode upperBound,
SqlLiteral allowPartial,
SqlParserPos pos) |
SqlWindow |
SqlWindow.createCurrentRowWindow(java.lang.String columnName)
Creates a window
(RANGE columnName CURRENT ROW) . |
SqlWindow |
SqlWindow.createUnboundedPrecedingWindow(java.lang.String columnName)
Creates a window
(RANGE columnName UNBOUNDED
PRECEDING) . |
SqlWindow |
SqlWindow.overlay(SqlWindow that,
SqlValidator validator)
Creates a new window by combining this one with another.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
SqlWindow.checkSpecialLiterals(SqlWindow window,
SqlValidator validator) |
SqlWindow |
SqlWindow.overlay(SqlWindow that,
SqlValidator validator)
Creates a new window by combining this one with another.
|
Modifier and Type | Method and Description |
---|---|
protected SqlWindow |
SqlValidatorImpl.getWindowByName(SqlIdentifier id,
SqlValidatorScope scope) |
private SqlWindow |
SqlValidatorImpl.getWindowInOver(SqlNode over) |
SqlWindow |
DelegatingScope.lookupWindow(java.lang.String name) |
SqlWindow |
SqlValidatorScope.lookupWindow(java.lang.String name)
Finds a window with a given name.
|
SqlWindow |
EmptyScope.lookupWindow(java.lang.String name) |
SqlWindow |
SelectScope.lookupWindow(java.lang.String name) |
SqlWindow |
JoinScope.lookupWindow(java.lang.String name) |
SqlWindow |
SqlValidator.resolveWindow(SqlNode windowOrRef,
SqlValidatorScope scope,
boolean populateBounds)
Converts a window specification or window name into a fully-resolved
window specification.
|
SqlWindow |
SqlValidatorImpl.resolveWindow(SqlNode windowOrRef,
SqlValidatorScope scope,
boolean populateBounds) |
Modifier and Type | Method and Description |
---|---|
private void |
SqlValidatorImpl.checkRollUpInWindow(SqlWindow window,
SqlValidatorScope scope) |
Modifier and Type | Field and Description |
---|---|
(package private) SqlWindow |
SqlToRelConverter.Blackboard.window
When converting window aggregate, we need to know if the window is
guaranteed to be non-empty.
|
private SqlWindow |
SqlToRelConverter.HistogramShuttle.window |
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.