Package org.teiid.query.resolver.command
Class SimpleQueryResolver.QueryResolverVisitor
- java.lang.Object
-
- org.teiid.query.sql.LanguageVisitor
-
- org.teiid.query.sql.navigator.AbstractNavigator
-
- org.teiid.query.sql.navigator.PreOrPostOrderNavigator
-
- org.teiid.query.sql.navigator.PostOrderNavigator
-
- org.teiid.query.resolver.command.SimpleQueryResolver.QueryResolverVisitor
-
- Enclosing class:
- SimpleQueryResolver
public static class SimpleQueryResolver.QueryResolverVisitor extends PostOrderNavigator
-
-
Field Summary
-
Fields inherited from class org.teiid.query.sql.navigator.PreOrPostOrderNavigator
POST_ORDER, PRE_ORDER
-
-
Constructor Summary
Constructors Constructor Description QueryResolverVisitor(Query query, TempMetadataAdapter metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postTableFunctionReference(TableFunctionReference obj, LinkedHashSet<GroupSymbol> saved)
protected void
postVisitVisitor(LanguageObject obj)
LinkedHashSet<GroupSymbol>
preTableFunctionReference(TableFunctionReference tfr)
void
visit(ArrayTable obj)
void
visit(ExistsCriteria obj)
void
visit(From obj)
void
visit(Into obj)
void
visit(JoinPredicate obj)
void
visit(JsonTable obj)
void
visit(Limit obj)
void
visit(ObjectTable obj)
void
visit(Query obj)
Resolving a Query requires a special orderingvoid
visit(SubqueryCompareCriteria obj)
void
visit(SubqueryFromClause obj)
void
visit(SubquerySetCriteria obj)
void
visit(TextTable obj)
void
visit(UnaryFromClause obj)
void
visit(XMLTable obj)
void
visit(GroupSymbol obj)
void
visit(MultipleElementSymbol obj)
void
visit(ScalarSubquery obj)
-
Methods inherited from class org.teiid.query.sql.navigator.PostOrderNavigator
doVisit
-
Methods inherited from class org.teiid.query.sql.navigator.PreOrPostOrderNavigator
doVisit, doVisit, preVisitVisitor, setSkipEvaluatable, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Methods inherited from class org.teiid.query.sql.navigator.AbstractNavigator
getVisitor, visitNode, visitNodes, visitVisitor
-
Methods inherited from class org.teiid.query.sql.LanguageVisitor
setAbort, shouldAbort, visit, visit
-
-
-
-
Constructor Detail
-
QueryResolverVisitor
public QueryResolverVisitor(Query query, TempMetadataAdapter metadata)
-
-
Method Detail
-
postVisitVisitor
protected void postVisitVisitor(LanguageObject obj)
- Overrides:
postVisitVisitor
in classPreOrPostOrderNavigator
-
visit
public void visit(Query obj)
Resolving a Query requires a special ordering- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(GroupSymbol obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(MultipleElementSymbol obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(ScalarSubquery obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(ExistsCriteria obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(SubqueryCompareCriteria obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(SubquerySetCriteria obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(TextTable obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(ArrayTable obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(XMLTable obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(JsonTable obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(ObjectTable obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
preTableFunctionReference
public LinkedHashSet<GroupSymbol> preTableFunctionReference(TableFunctionReference tfr)
- Parameters:
tfr
-
-
postTableFunctionReference
public void postTableFunctionReference(TableFunctionReference obj, LinkedHashSet<GroupSymbol> saved)
-
visit
public void visit(SubqueryFromClause obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(UnaryFromClause obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(Into obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
- See Also:
PreOrPostOrderNavigator.visit(org.teiid.query.sql.lang.Into)
-
visit
public void visit(JoinPredicate obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(From obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
visit
public void visit(Limit obj)
- Overrides:
visit
in classPreOrPostOrderNavigator
-
-