|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.internal.jpql.parser.AbstractTraverseChildrenVisitor
org.eclipse.persistence.jpa.internal.jpql.parser.FullyQualifyPathExpressionVisitor
final class FullyQualifyPathExpressionVisitor
This visitor makes sure that all path expressions are fully qualified with the identification variable in the range variable declaration. This only applies to an UPDATE or DELETE query.
Nested Class Summary | |
---|---|
private class |
FullyQualifyPathExpressionVisitor.GeneralIdentificationVariableVisitor |
Field Summary | |
---|---|
private static FullyQualifyPathExpressionVisitor |
INSTANCE The singleton instance of this visitor. |
private java.lang.String |
variableName The identification variable defined in the range variable declaration or the abstract schema name in lower case. |
private FullyQualifyPathExpressionVisitor.GeneralIdentificationVariableVisitor |
visitor Caches this visitor, which is used to determine if the general identification variable is not a map key, map value or map entry expression. |
Constructor Summary | |
---|---|
FullyQualifyPathExpressionVisitor() |
Method Summary | |
---|---|
private FullyQualifyPathExpressionVisitor.GeneralIdentificationVariableVisitor |
generalIdentificationVariableVisitor() |
(package private) static ExpressionVisitor |
instance() Returns the singleton instance of this visitor. |
private void |
qualifyPathExpression(AbstractPathExpression expression) |
void |
visit(CollectionValuedPathExpression expression) Visits the CollectionValuedPathExpression expression. |
void |
visit(IdentificationVariable expression) Visits the IdentificationVariable expression. |
void |
visit(RangeVariableDeclaration expression) Visits the RangeVariableDeclaration expression. |
void |
visit(SelectStatement expression) Visits the SelectStatement expression. |
void |
visit(SimpleSelectStatement expression) Visits the SimpleSelectStatement expression. |
void |
visit(StateFieldPathExpression expression) Visits the StateFieldPathExpression expression. |
private void |
visitAbstractPathExpression(AbstractPathExpression expression) |
Methods inherited from class org.eclipse.persistence.jpa.internal.jpql.parser.AbstractTraverseChildrenVisitor |
---|
visit |
Methods inherited from class org.eclipse.persistence.jpa.internal.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String variableName
private FullyQualifyPathExpressionVisitor.GeneralIdentificationVariableVisitor visitor
private static final FullyQualifyPathExpressionVisitor INSTANCE
Constructor Detail |
---|
FullyQualifyPathExpressionVisitor()
Method Detail |
---|
static ExpressionVisitor instance()
private FullyQualifyPathExpressionVisitor.GeneralIdentificationVariableVisitor generalIdentificationVariableVisitor()
private void qualifyPathExpression(AbstractPathExpression expression)
public void visit(CollectionValuedPathExpression expression)
CollectionValuedPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariable expression)
IdentificationVariable
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SelectStatement expression)
SelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleSelectStatement expression)
SimpleSelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(StateFieldPathExpression expression)
StateFieldPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitprivate void visitAbstractPathExpression(AbstractPathExpression expression)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |