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
protected class JPQLQueryContext.InputParameterVisitor extends AbstractTraverseChildrenVisitor
This visitor is responsible to find theInputParameters
with a certain parameter name.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Collection<InputParameter>
inputParameters
The collection ofInputParameters
that was retrieved by traversing the parsed tree.protected java.lang.String
parameterName
The name of the input parameter to search.
-
Constructor Summary
Constructors Modifier Constructor Description protected
InputParameterVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Field Detail
-
inputParameters
protected java.util.Collection<InputParameter> inputParameters
The collection ofInputParameters
that was retrieved by traversing the parsed tree.
-
parameterName
protected java.lang.String parameterName
The name of the input parameter to search.
-
-
Method Detail
-
visit
public void visit(InputParameter expression)
Visits theInputParameter
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleSelectStatement expression)
Visits theSimpleSelectStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-