|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.SubqueryVisitor
protected class AbstractContentAssistVisitor.SubqueryVisitor
This visitor determines if an Expression
is in a subquery.
Field Summary | |
---|---|
protected SimpleSelectStatement |
expression
The subquery Expression if it's the first clause visitor. |
Constructor Summary | |
---|---|
protected |
AbstractContentAssistVisitor.SubqueryVisitor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor |
---|
visit, visit |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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.
Constructor Detail |
---|
protected AbstractContentAssistVisitor.SubqueryVisitor()
Method Detail |
---|
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
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |