protected static class JPQLQueryContext.QueryExpressionVisitor extends AbstractTraverseParentVisitor
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.Modifier and Type | Field and Description |
---|---|
protected Expression |
expression
The
Expression that is the beginning of a query. |
Modifier | Constructor and Description |
---|---|
protected |
QueryExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
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
protected Expression expression
Expression
that is the beginning of a query.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