OmniSciDB
a5dc49c757
|
Public Member Functions | |
SqlNode | go () |
SqlNode | visit (SqlLiteral literal) |
SqlNode | visit (SqlIdentifier id) |
Protected Member Functions | |
SqlNode | visitScoped (SqlCall call) |
Package Functions | |
OrderExpressionExpander (SqlSelect select, SqlNode root) | |
Private Member Functions | |
SqlNode | nthSelectItem (int ordinal, final SqlParserPos pos) |
Private Attributes | |
final List< String > | aliasList |
final SqlSelect | select |
final SqlNode | root |
Shuttle which walks over an expression in the ORDER BY clause, replacing usages of aliases with the underlying expression.
Definition at line 5993 of file SqlValidatorImpl.java.
|
inlinepackage |
Definition at line 5998 of file SqlValidatorImpl.java.
References org.apache.calcite.sql.validate.SqlValidatorImpl.getNamespace(), org.apache.calcite.sql.validate.SqlValidatorImpl.getOrderScope(), org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.root, and org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.select.
|
inline |
Definition at line 6005 of file SqlValidatorImpl.java.
|
inlineprivate |
Returns the ordinal
th item in the select list.
Definition at line 6038 of file SqlValidatorImpl.java.
References org.apache.calcite.sql.validate.SqlValidatorImpl.expandStar(), and org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.select.
Referenced by org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.visit().
|
inline |
Definition at line 6009 of file SqlValidatorImpl.java.
References org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.aliasList, org.apache.calcite.sql.validate.SqlValidatorImpl.config(), org.apache.calcite.sql.validate.SqlValidatorImpl.newValidationError(), org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.nthSelectItem(), and org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.root.
|
inline |
Definition at line 6059 of file SqlValidatorImpl.java.
References org.apache.calcite.sql.validate.SqlValidatorImpl.alias(), org.apache.calcite.sql.validate.SqlValidatorImpl.config(), field(), org.apache.calcite.sql.validate.SqlValidatorImpl.getNamespace(), org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.nthSelectItem(), and org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.select.
|
inlineprotected |
Definition at line 6080 of file SqlValidatorImpl.java.
|
private |
Definition at line 5994 of file SqlValidatorImpl.java.
Referenced by org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.visit().
|
private |
Definition at line 5996 of file SqlValidatorImpl.java.
Referenced by org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.OrderExpressionExpander(), and org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.visit().
|
private |
Definition at line 5995 of file SqlValidatorImpl.java.
Referenced by org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.nthSelectItem(), org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.OrderExpressionExpander(), and org.apache.calcite.sql.validate.SqlValidatorImpl.OrderExpressionExpander.visit().