Interface ExpressionVisitor
- All Known Subinterfaces:
EclipseLinkExpressionVisitor
- All Known Implementing Classes:
AbstractEclipseLinkExpressionVisitor
,AbstractEclipseLinkParameterTypeVisitor
,AbstractEclipseLinkSemanticValidator
,AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor
,AbstractEclipseLinkSemanticValidator.SubquerySelectItemCalculator
,AbstractEclipseLinkSemanticValidator.TableExpressionVisitor
,AbstractEclipseLinkSemanticValidator.TopLevelFirstDeclarationVisitor
,AbstractEclipseLinkTraverseChildrenVisitor
,AbstractEclipseLinkTraverseParentVisitor
,AbstractExpressionVisitor
,AbstractGrammarValidator
,AbstractGrammarValidator.AbstractCollectionValidator
,AbstractGrammarValidator.CollectionExpressionVisitor
,AbstractGrammarValidator.CollectionSeparatedByCommaValidator
,AbstractGrammarValidator.CollectionSeparatedBySpaceValidator
,AbstractGrammarValidator.ComparisonExpressionVisitor
,AbstractGrammarValidator.DateTimeVisitor
,AbstractGrammarValidator.NullExpressionVisitor
,AbstractSemanticValidator
,AbstractSemanticValidator.CollectionValuedPathExpressionVisitor
,AbstractSemanticValidator.ComparingEntityTypeLiteralVisitor
,AbstractSemanticValidator.ComparisonExpressionVisitor
,AbstractSemanticValidator.FirstDeclarationVisitor
,AbstractSemanticValidator.InItemsVisitor
,AbstractSemanticValidator.StateFieldPathExpressionVisitor
,AbstractSemanticValidator.SubqueryFirstDeclarationVisitor
,AbstractSemanticValidator.TopLevelFirstDeclarationVisitor
,AbstractTraverseChildrenVisitor
,AbstractTraverseParentVisitor
,AbstractValidator
,AbstractValidator.BypassChildCollectionExpressionVisitor
,AbstractValidator.BypassParentSubExpressionVisitor
,AbstractValidator.ChildrenCollectorVisitor
,AbstractValidator.JPQLQueryBNFValidator
,AbstractValidator.NestedArrayVisitor
,AbstractValidator.OwningClauseVisitor
,AbstractValidator.OwningStatementVisitor
,AbstractValidator.SubqueryVisitor
,AnonymousExpressionVisitor
,BaseDeclarationIdentificationVariableFinder
,EclipseLinkAnonymousExpressionVisitor
,EclipseLinkGrammarValidator
,EclipseLinkGrammarValidator.InExpressionVisitor
,EclipseLinkGrammarValidator.InExpressionWithNestedArrayVisitor
,EclipseLinkLiteralVisitor
,ExpressionVisitorWrapper
,FullyQualifyPathExpressionVisitor
,LiteralVisitor
,ParameterTypeVisitor
public interface ExpressionVisitor
This interface is used to traverse the JPQL parsed tree. It follows the Visitor pattern. It visits
the concrete instances of
Expression
.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
- Version:
- 2.4
- Author:
- Pascal Filion
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(AbsExpression expression) Visits theAbsExpression
expression.void
visit
(AbstractSchemaName expression) Visits theAbstractSchemaName
expression.void
visit
(AdditionExpression expression) Visits theAdditionExpression
expression.void
visit
(AllOrAnyExpression expression) Visits theAllOrAnyExpression
expression.void
visit
(AndExpression expression) Visits theAndExpression
expression.void
visit
(ArithmeticFactor expression) Visits theArithmeticFactor
expression.void
visit
(AvgFunction expression) Visits theAvgFunction
expression.void
visit
(BadExpression expression) Visits theBadExpression
expression.void
visit
(BetweenExpression expression) Visits theBetweenExpression
expression.void
visit
(CaseExpression expression) Visits theCaseExpression
expression.void
visit
(CoalesceExpression expression) Visits theCoalesceExpression
expression.void
visit
(CollectionExpression expression) Visits theCollectionExpression
expression.void
visit
(CollectionMemberDeclaration expression) Visits theCollectionMemberDeclaration
expression.void
visit
(CollectionMemberExpression expression) Visits theCollectionMemberExpression
expression.void
visit
(CollectionValuedPathExpression expression) Visits theCollectionValuedPathExpression
expression.void
visit
(ComparisonExpression expression) Visits theComparisonExpression
expression.void
visit
(ConcatExpression expression) Visits theConcatExpression
expression.void
visit
(ConstructorExpression expression) Visits theConstructorExpression
expression.void
visit
(CountFunction expression) Visits theCountFunction
expression.void
Visits theDateTime
expression.void
visit
(DeleteClause expression) Visits theDeleteClause
expression.void
visit
(DeleteStatement expression) Visits theDeleteStatement
expression.void
visit
(DivisionExpression expression) Visits theDivisionExpression
expression.void
visit
(EmptyCollectionComparisonExpression expression) Visits theEmptyCollectionComparisonExpression
expression.void
visit
(EntityTypeLiteral expression) Visits theEntityTypeLiteral
expression.void
visit
(EntryExpression expression) Visits theEntryExpression
expression.void
visit
(ExistsExpression expression) Visits theExistsExpression
expression.void
visit
(FromClause expression) Visits theFromClause
expression.void
visit
(FunctionExpression expression) Visits theFunctionExpression
expression.void
visit
(GroupByClause expression) Visits theGroupByClause
expression.void
visit
(HavingClause expression) Visits theHavingClause
expression.void
visit
(IdentificationVariable expression) Visits theIdentificationVariable
expression.void
visit
(IdentificationVariableDeclaration expression) Visits theIdentificationVariableDeclaration
expression.void
visit
(IndexExpression expression) Visits theIndexExpression
expression.void
visit
(InExpression expression) Visits theInExpression
expression.void
visit
(InputParameter expression) Visits theInputParameter
expression.void
Visits theJoin
expression.void
visit
(JPQLExpression expression) Visits theJPQLExpression
expression.void
visit
(KeyExpression expression) Visits theKeyExpression
expression.void
visit
(KeywordExpression expression) Visits theKeywordExpression
expression.void
visit
(LengthExpression expression) Visits theLengthExpression
expression.void
visit
(LikeExpression expression) Visits theLikeExpression
expression.void
visit
(LocateExpression expression) Visits theLocateExpression
expression.void
visit
(LowerExpression expression) Visits theLowerExpression
expression.void
visit
(MaxFunction expression) Visits theMaxFunction
expression.void
visit
(MinFunction expression) Visits theMinFunction
expression.void
visit
(ModExpression expression) Visits theModExpression
expression.void
visit
(MultiplicationExpression expression) Visits theMultiplicationExpression
expression.void
visit
(NotExpression expression) Visits theNotExpression
expression.void
visit
(NullComparisonExpression expression) Visits theNullComparisonExpression
expression.void
visit
(NullExpression expression) Visits theNullExpression
expression.void
visit
(NullIfExpression expression) Visits theNullIfExpression
expression.void
visit
(NumericLiteral expression) Visits theNumericLiteral
expression.void
visit
(ObjectExpression expression) Visits theObjectExpression
expression.void
Visits theOnClause
expression.void
visit
(OrderByClause expression) Visits theOrderByClause
expression.void
visit
(OrderByItem expression) Visits theOrderByItem
expression.void
visit
(OrExpression expression) Visits theOrExpression
expression.void
visit
(RangeVariableDeclaration expression) Visits theRangeVariableDeclaration
expression.void
visit
(ResultVariable expression) Visits theResultVariable
expression.void
visit
(SelectClause expression) Visits theSelectClause
expression.void
visit
(SelectStatement expression) Visits theSelectStatement
expression.void
visit
(SimpleFromClause expression) Visits theSimpleFromClause
expression.void
visit
(SimpleSelectClause expression) Visits theSimpleSelectClause
expression.void
visit
(SimpleSelectStatement expression) Visits theSimpleSelectStatement
expression.void
visit
(SizeExpression expression) Visits theSizeExpression
expression.void
visit
(SqrtExpression expression) Visits theSqrtExpression
expression.void
visit
(StateFieldPathExpression expression) Visits theStateFieldPathExpression
expression.void
visit
(StringLiteral expression) Visits theStringLiteral
expression.void
visit
(SubExpression expression) Visits theSubExpression
expression.void
visit
(SubstringExpression expression) Visits theSubstringExpression
expression.void
visit
(SubtractionExpression expression) Visits theSubtractionExpression
expression.void
visit
(SumFunction expression) Visits theSumFunction
expression.void
visit
(TreatExpression expression) Visits theTreatExpression
expression.void
visit
(TrimExpression expression) Visits theTrimExpression
expression.void
visit
(TypeExpression expression) Visits theTypeExpression
expression.void
visit
(UnknownExpression expression) Visits theUnknownExpression
expression.void
visit
(UpdateClause expression) Visits theUpdateClause
expression.void
visit
(UpdateItem expression) Visits theUpdateItem
expression.void
visit
(UpdateStatement expression) Visits theUpdateStatement
expression.void
visit
(UpperExpression expression) Visits theUpperExpression
expression.void
visit
(ValueExpression expression) Visits theValueExpression
expression.void
visit
(WhenClause expression) Visits theWhenClause
expression.void
visit
(WhereClause expression) Visits theWhereClause
expression.
-
Method Details
-
visit
Visits theAbsExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theAbstractSchemaName
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theAdditionExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theAllOrAnyExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theAndExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theArithmeticFactor
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theAvgFunction
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theBadExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theBetweenExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCaseExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCoalesceExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCollectionExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCollectionMemberDeclaration
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCollectionMemberExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCollectionValuedPathExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theComparisonExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theConcatExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theConstructorExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theCountFunction
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theDateTime
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theDeleteClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theDeleteStatement
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theDivisionExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theEmptyCollectionComparisonExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theEntityTypeLiteral
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theEntryExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theExistsExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theFromClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theFunctionExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theGroupByClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theHavingClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theIdentificationVariable
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theIdentificationVariableDeclaration
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theIndexExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theInExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theInputParameter
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theJoin
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theJPQLExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theKeyExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theKeywordExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theLengthExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theLikeExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theLocateExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theLowerExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theMaxFunction
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theMinFunction
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theModExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theMultiplicationExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theNotExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theNullComparisonExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theNullExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theNullIfExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theNumericLiteral
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theObjectExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theOnClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theOrderByClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theOrderByItem
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theOrExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theRangeVariableDeclaration
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theResultVariable
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSelectClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSelectStatement
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSimpleFromClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSimpleSelectClause
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSimpleSelectStatement
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSizeExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSqrtExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theStateFieldPathExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theStringLiteral
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSubExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSubstringExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSubtractionExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theSumFunction
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theTreatExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theTrimExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theTypeExpression
expression.- Parameters:
expression
- TheExpression
to visit
-
visit
Visits theUnknownExpression
expression.- Parameters:
expression
- TheUnknownExpression
to visit
-
visit
Visits theUpdateClause
expression.- Parameters:
expression
- TheUpdateClause
to visit
-
visit
Visits theUpdateItem
expression.- Parameters:
expression
- TheUpdateItem
to visit
-
visit
Visits theUpdateStatement
expression.- Parameters:
expression
- TheUpdateStatement
to visit
-
visit
Visits theUpperExpression
expression.- Parameters:
expression
- TheUpperExpression
to visit
-
visit
Visits theValueExpression
expression.- Parameters:
expression
- TheValueExpression
to visit
-
visit
Visits theWhenClause
expression.- Parameters:
expression
- TheWhenClause
to visit
-
visit
Visits theWhereClause
expression.- Parameters:
expression
- TheWhereClause
to visit
-