| Package | Description |
|---|---|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.parser.impl |
Contains generated code for the
Calcite SQL parser. |
| org.apache.calcite.sql.validate |
SQL validation.
|
| 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(String columnName)
Creates a window
(RANGE columnName CURRENT ROW). |
SqlWindow |
SqlWindow.createUnboundedPrecedingWindow(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 |
|---|---|
SqlWindow |
SqlWindow.overlay(SqlWindow that,
SqlValidator validator)
Creates a new window by combining this one with another.
|
| Modifier and Type | Method and Description |
|---|---|
SqlWindow |
SqlParserImpl.WindowSpecification()
Parses a window specification.
|
| Modifier and Type | Method and Description |
|---|---|
protected SqlWindow |
SqlValidatorImpl.getWindowByName(SqlIdentifier id,
SqlValidatorScope scope) |
SqlWindow |
SqlValidatorScope.lookupWindow(String name)
Finds a window with a given name.
|
SqlWindow |
DelegatingScope.lookupWindow(String name) |
SqlWindow |
SelectScope.lookupWindow(String name) |
SqlWindow |
JoinScope.lookupWindow(String name) |
SqlWindow |
SqlValidatorImpl.resolveWindow(SqlNode windowOrRef,
SqlValidatorScope scope,
boolean populateBounds) |
SqlWindow |
SqlValidator.resolveWindow(SqlNode windowOrRef,
SqlValidatorScope scope,
boolean populateBounds)
Converts a window specification or window name into a fully-resolved
window specification.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.