|
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.JPQLQueryContext.QueryExpressionVisitor
protected static class JPQLQueryContext.QueryExpressionVisitor
This visitor is responsible to retrieve the Expression
that is the beginning of a
query. For a subquery, it will retrieve SimpleSelectStatement
and for a top-level
query, it will retrieve JPQLExpression
. The search goes through the parent hierarchy.
Field Summary | |
---|---|
protected Expression |
expression
The Expression that is the beginning of a query. |
Constructor Summary | |
---|---|
protected |
JPQLQueryContext.QueryExpressionVisitor()
|
Method Summary | |
---|---|
void |
visit(JPQLExpression expression)
Visits the JPQLExpression expression. |
void |
visit(SimpleSelectStatement expression)
Visits the SimpleSelectStatement expression. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor |
---|
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 Expression expression
Expression
that is the beginning of a query.
Constructor Detail |
---|
protected JPQLQueryContext.QueryExpressionVisitor()
Method Detail |
---|
public void visit(JPQLExpression expression)
JPQLExpression
expression.
visit
in interface ExpressionVisitor
visit
in class AbstractTraverseParentVisitor
expression
- The Expression
to visitpublic 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 |