protected static final class AbstractContentAssistVisitor.SubqueryVisitor extends AbstractTraverseParentVisitor
Expression
is in a subquery.Modifier and Type | Field and Description |
---|---|
protected SimpleSelectStatement |
expression
The subquery
Expression if it's the first clause visitor. |
Modifier | Constructor and Description |
---|---|
protected |
SubqueryVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
boolean |
isInSubquery()
Determines whether the visited
Expression is in a subquery or in the top-level query. |
void |
visit(SimpleSelectStatement expression)
Visits the
SimpleSelectStatement expression. |
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, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
protected SimpleSelectStatement expression
Expression
if it's the first clause visitor. Otherwise it will be
null
if the Expression
is in the top-level query.public void dispose()
public boolean isInSubquery()
Expression
is in a subquery or in the top-level query.true
if the owning query is a subquery; false
if it's the
top-level querypublic void visit(SimpleSelectStatement expression)
SimpleSelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit