Interface ExpressionVisitor
- All Known Subinterfaces:
SelectionVisitor
- All Known Implementing Classes:
AbstractSqlLikeQueryBuilder2.SqlSelectionVisitor
,Joiner
,QueryModelSelectionVisitor
,SqlQueryBuilder2.SqlSelectionVisitor
@Internal
public interface ExpressionVisitor
The expression visitor.
- Since:
- 4.9
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(BinaryExpression<?> binaryExpression) VisitBinaryExpression
.void
visit
(FunctionExpression<?> functionExpression) VisitFunctionExpression
.void
visit
(IdExpression<?, ?> idExpression) VisitIdExpression
.void
visit
(LiteralExpression<?> literalExpression) VisitLiteralExpression
.void
visit
(SubqueryExpression<?> subqueryExpression) VisitSubqueryExpression
.void
visit
(UnaryExpression<?> unaryExpression) VisitUnaryExpression
.void
visit
(IParameterExpression<?> parameterExpression) VisitIParameterExpression
.void
visit
(PersistentEntityRoot<?> entityRoot) VisitPersistentEntityRoot
.void
visit
(PersistentEntitySubquery<?> subquery) VisitPersistentEntitySubquery
.void
visit
(PersistentPropertyPath<?> persistentPropertyPath) VisitPersistentPropertyPath
.default void
visit
(jakarta.persistence.criteria.Predicate predicate) VisitPredicate
.
-
Method Details
-
visit
default void visit(jakarta.persistence.criteria.Predicate predicate) VisitPredicate
.- Parameters:
predicate
- The predicate
-
visit
VisitPersistentPropertyPath
.- Parameters:
persistentPropertyPath
- The persistentPropertyPath
-
visit
VisitPersistentEntityRoot
.- Parameters:
entityRoot
- The entityRoot
-
visit
VisitPersistentEntitySubquery
.- Parameters:
subquery
- The subquery
-
visit
VisitLiteralExpression
.- Parameters:
literalExpression
- The literalExpression
-
visit
VisitUnaryExpression
.- Parameters:
unaryExpression
- The unary expression
-
visit
VisitBinaryExpression
.- Parameters:
binaryExpression
- The aggregateExpression
-
visit
VisitIdExpression
.- Parameters:
idExpression
- The idExpression
-
visit
VisitFunctionExpression
.- Parameters:
functionExpression
- The function expression
-
visit
VisitIParameterExpression
.- Parameters:
parameterExpression
- The parameter expression
-
visit
VisitSubqueryExpression
.- Parameters:
subqueryExpression
- The subquery expression
-