public abstract class SqlScopedShuttle extends SqlShuttle
SqlShuttle which maintains a stack of scopes.
Derived class should override visitScoped(SqlCall) rather than
SqlVisitor.visit(SqlCall).
SqlShuttle.CallCopyingArgHandlerSqlBasicVisitor.ArgHandler<R>, SqlBasicVisitor.ArgHandlerImpl<R>| Modifier | Constructor and Description |
|---|---|
protected |
SqlScopedShuttle(SqlValidatorScope initialScope) |
| Modifier and Type | Method and Description |
|---|---|
protected SqlValidatorScope |
getScope()
Returns the current scope.
|
SqlNode |
visit(SqlCall call)
Visits a call to a
SqlOperator. |
protected SqlNode |
visitScoped(SqlCall call)
Visits an operator call.
|
protected SqlScopedShuttle(SqlValidatorScope initialScope)
public final SqlNode visit(SqlCall call)
SqlVisitorSqlOperator.visit in interface SqlVisitor<SqlNode>visit in class SqlShuttlecall - CallSqlCall.accept(SqlVisitor)protected SqlNode visitScoped(SqlCall call)
protected SqlValidatorScope getScope()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.