org.eigenbase.sql.validate
Class SqlValidatorImpl.Expander
java.lang.Object
org.eigenbase.sql.util.SqlBasicVisitor<SqlNode>
org.eigenbase.sql.util.SqlShuttle
org.eigenbase.sql.validate.SqlScopedShuttle
org.eigenbase.sql.validate.SqlValidatorImpl.Expander
- All Implemented Interfaces:
- SqlVisitor<SqlNode>
- Enclosing class:
- SqlValidatorImpl
private static class SqlValidatorImpl.Expander
- extends SqlScopedShuttle
Converts an expression into canonical form by fully-qualifying any
identifiers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validator
private final SqlValidatorImpl validator
SqlValidatorImpl.Expander
public SqlValidatorImpl.Expander(SqlValidatorImpl validator,
SqlValidatorScope scope)
visit
public SqlNode visit(SqlIdentifier id)
- Description copied from interface:
SqlVisitor
- Visits an identifier.
- Specified by:
visit
in interface SqlVisitor<SqlNode>
- Overrides:
visit
in class SqlShuttle
- Parameters:
id
- identifier- See Also:
SqlIdentifier.accept(SqlVisitor)
visitScoped
protected SqlNode visitScoped(SqlCall call)
- Description copied from class:
SqlScopedShuttle
- Visits an operator call. If the call has entered a new scope, the base
class will have already modified the scope.
- Overrides:
visitScoped
in class SqlScopedShuttle