Package org.apache.calcite.sql.validate
Class SqlValidatorUtil.DeepCopier
java.lang.Object
org.apache.calcite.sql.util.SqlBasicVisitor<@Nullable SqlNode>
org.apache.calcite.sql.util.SqlShuttle
org.apache.calcite.sql.validate.SqlScopedShuttle
org.apache.calcite.sql.validate.SqlValidatorUtil.DeepCopier
- All Implemented Interfaces:
SqlVisitor<SqlNode>
- Enclosing class:
SqlValidatorUtil
Deprecated.
Walks over an expression, copying every node, and fully-qualifying every
identifier.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.sql.util.SqlShuttle
SqlShuttle.CallCopyingArgHandler
Nested classes/interfaces inherited from class org.apache.calcite.sql.util.SqlBasicVisitor
SqlBasicVisitor.ArgHandler<R>, SqlBasicVisitor.ArgHandlerImpl<R>
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable SqlNodeList
copy
(SqlValidatorScope scope, SqlNodeList list) Deprecated.Copies a list of nodes.visit
(SqlDataTypeSpec type) Deprecated.Visits a datatype specification.visit
(SqlDynamicParam param) Deprecated.Visits a dynamic parameter.visit
(SqlIdentifier id) Deprecated.Visits an identifier.visit
(SqlIntervalQualifier intervalQualifier) Deprecated.Visits an interval qualifier.visit
(SqlLiteral literal) Deprecated.Visits a literal.visit
(SqlNodeList list) Deprecated.Visits a list ofSqlNode
objects.protected SqlNode
visitScoped
(SqlCall call) Deprecated.Visits an operator call.Methods inherited from class org.apache.calcite.sql.validate.SqlScopedShuttle
getScope, visit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.sql.util.SqlVisitor
visitNode
-
Method Details
-
copy
Deprecated.Copies a list of nodes. -
visit
Deprecated.Description copied from interface:SqlVisitor
Visits a list ofSqlNode
objects.- Specified by:
visit
in interfaceSqlVisitor<SqlNode>
- Overrides:
visit
in classSqlShuttle
- Parameters:
list
- list of nodes- See Also:
-
visitScoped
Deprecated.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 classSqlScopedShuttle
-
visit
Deprecated.Description copied from interface:SqlVisitor
Visits a literal.- Specified by:
visit
in interfaceSqlVisitor<SqlNode>
- Overrides:
visit
in classSqlShuttle
- Parameters:
literal
- Literal- See Also:
-
visit
Deprecated.Description copied from interface:SqlVisitor
Visits an identifier.- Specified by:
visit
in interfaceSqlVisitor<SqlNode>
- Overrides:
visit
in classSqlShuttle
- Parameters:
id
- identifier- See Also:
-
visit
Deprecated.Description copied from interface:SqlVisitor
Visits a datatype specification.- Specified by:
visit
in interfaceSqlVisitor<SqlNode>
- Overrides:
visit
in classSqlShuttle
- Parameters:
type
- datatype specification- See Also:
-
visit
Deprecated.Description copied from interface:SqlVisitor
Visits a dynamic parameter.- Specified by:
visit
in interfaceSqlVisitor<SqlNode>
- Overrides:
visit
in classSqlShuttle
- Parameters:
param
- Dynamic parameter- See Also:
-
visit
Deprecated.Description copied from interface:SqlVisitor
Visits an interval qualifier.- Specified by:
visit
in interfaceSqlVisitor<SqlNode>
- Overrides:
visit
in classSqlShuttle
- Parameters:
intervalQualifier
- Interval qualifier- See Also:
-