class SqlValidatorImpl.OrderExpressionExpander extends SqlScopedShuttle
SqlShuttle.CallCopyingArgHandlerSqlBasicVisitor.ArgHandler<R>, SqlBasicVisitor.ArgHandlerImpl<R>| Modifier and Type | Field and Description |
|---|---|
private List<String> |
aliasList |
private SqlNode |
root |
private SqlSelect |
select |
| Constructor and Description |
|---|
OrderExpressionExpander(SqlSelect select,
SqlNode root) |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
go() |
private SqlNode |
nthSelectItem(int ordinal,
SqlParserPos pos)
Returns the
ordinalth item in the select list. |
SqlNode |
visit(SqlIdentifier id)
Visits an identifier.
|
SqlNode |
visit(SqlLiteral literal)
Visits a literal.
|
protected SqlNode |
visitScoped(SqlCall call)
Visits an operator call.
|
getScope, visitvisit, visit, visit, visitpublic SqlNode go()
public SqlNode visit(SqlLiteral literal)
SqlVisitorvisit in interface SqlVisitor<SqlNode>visit in class SqlShuttleliteral - LiteralSqlLiteral.accept(SqlVisitor)private SqlNode nthSelectItem(int ordinal, SqlParserPos pos)
ordinalth item in the select list.public SqlNode visit(SqlIdentifier id)
SqlVisitorvisit in interface SqlVisitor<SqlNode>visit in class SqlShuttleid - identifierSqlIdentifier.accept(SqlVisitor)protected SqlNode visitScoped(SqlCall call)
SqlScopedShuttlevisitScoped in class SqlScopedShuttleCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.