Package org.apache.calcite.sql2rel
Class SqlToRelConverter.SqlIdentifierFinder
java.lang.Object
org.apache.calcite.sql2rel.SqlToRelConverter.SqlIdentifierFinder
- All Implemented Interfaces:
SqlVisitor<Boolean>
- Enclosing class:
SqlToRelConverter
public static class SqlToRelConverter.SqlIdentifierFinder
extends Object
implements SqlVisitor<Boolean>
Visitor that looks for an SqlIdentifier inside a tree of
SqlNode
objects and return Boolean.TRUE
when it finds
one.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisits a call to aSqlOperator
.visit
(SqlDataTypeSpec type) Visits a datatype specification.visit
(SqlDynamicParam param) Visits a dynamic parameter.visit
(SqlIdentifier identifier) Visits an identifier.visit
(SqlIntervalQualifier intervalQualifier) Visits an interval qualifier.visit
(SqlLiteral literal) Visits a literal.visit
(SqlNodeList nodeList) Visits a list ofSqlNode
objects.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
-
Constructor Details
-
SqlIdentifierFinder
public SqlIdentifierFinder()
-
-
Method Details
-
visit
Description copied from interface:SqlVisitor
Visits a call to aSqlOperator
.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
sqlCall
- Call- See Also:
-
visit
Description copied from interface:SqlVisitor
Visits a list ofSqlNode
objects.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
nodeList
- list of nodes- See Also:
-
visit
Description copied from interface:SqlVisitor
Visits an identifier.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
identifier
- identifier- See Also:
-
visit
Description copied from interface:SqlVisitor
Visits a literal.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
literal
- Literal- See Also:
-
visit
Description copied from interface:SqlVisitor
Visits a datatype specification.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
type
- datatype specification- See Also:
-
visit
Description copied from interface:SqlVisitor
Visits a dynamic parameter.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
param
- Dynamic parameter- See Also:
-
visit
Description copied from interface:SqlVisitor
Visits an interval qualifier.- Specified by:
visit
in interfaceSqlVisitor<Boolean>
- Parameters:
intervalQualifier
- Interval qualifier- See Also:
-