Class JPQLQueryContext.InputParameterVisitor
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
org.eclipse.persistence.jpa.jpql.tools.JPQLQueryContext.InputParameterVisitor
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
JPQLQueryContext
This visitor is responsible to find the
InputParameters
with a certain
parameter name.-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection
<InputParameter> The collection ofInputParameters
that was retrieved by traversing the parsed tree.protected String
The name of the input parameter to search. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(InputParameter expression) Visits theInputParameter
expression.void
visit
(SimpleSelectStatement expression) Visits theSimpleSelectStatement
expression.Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
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, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
inputParameters
The collection ofInputParameters
that was retrieved by traversing the parsed tree. -
parameterName
The name of the input parameter to search.
-
-
Constructor Details
-
InputParameterVisitor
protected InputParameterVisitor()
-
-
Method Details
-
visit
Description copied from interface:ExpressionVisitor
Visits theInputParameter
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theSimpleSelectStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-