Package org.eclipse.persistence.jpa.jpql
Class AbstractValidator.NestedArrayVisitor
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
org.eclipse.persistence.jpa.jpql.AbstractValidator.NestedArrayVisitor
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
AbstractValidator
-
Field Summary
Modifier and TypeFieldDescriptionint
The number of items contained in the nested array or -1 if theExpression
does not represent a nested array.protected boolean
Internal flag used to determine if a sub-expression is traversed, which is required when representing a nested array. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(CollectionExpression expression) Visits theCollectionExpression
expression.void
visit
(SubExpression expression) Visits theSubExpression
expression.Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, 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
-
nestedArraySize
public int nestedArraySizeThe number of items contained in the nested array or -1 if theExpression
does not represent a nested array. -
subExpression
protected boolean subExpressionInternal flag used to determine if a sub-expression is traversed, which is required when representing a nested array.
-
-
Constructor Details
-
NestedArrayVisitor
protected NestedArrayVisitor()Default constructor.
-
-
Method Details
-
visit
Description copied from interface:ExpressionVisitor
Visits theCollectionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theSubExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-