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
protected static class AbstractValidator.NestedArrayVisitor extends AbstractExpressionVisitor
-
-
Field Summary
Fields Modifier and Type Field Description int
nestedArraySize
The number of items contained in the nested array or -1 if theExpression
does not represent a nested array.protected boolean
subExpression
Internal flag used to determine if a sub-expression is traversed, which is required when representing a nested array.
-
Constructor Summary
Constructors Modifier Constructor Description protected
NestedArrayVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Field Detail
-
nestedArraySize
public int nestedArraySize
The number of items contained in the nested array or -1 if theExpression
does not represent a nested array.
-
subExpression
protected boolean subExpression
Internal flag used to determine if a sub-expression is traversed, which is required when representing a nested array.
-
-
Method Detail
-
visit
public void visit(CollectionExpression expression)
Visits theCollectionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SubExpression expression)
Visits theSubExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-