Interface AdvancedPredicateVisitor<P>
- Type Parameters:
P
- The property type
- All Superinterfaces:
PredicateVisitor
- All Known Implementing Classes:
AbstractSqlLikeQueryBuilder2.SqlPredicateVisitor
A variation of
PredicateVisitor
that visits more expression methods.- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
appendPredicate
(PredicateBinaryOp op, jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) getRequiredProperty
(PersistentPropertyPath<?> persistentPropertyPath) Get the required property defined by the property path.default void
visit
(BetweenPredicate betweenPredicate) VisitBetweenPredicate
.default void
visit
(BinaryPredicate binaryPredicate) VisitBinaryPredicate
.default void
visit
(InPredicate<?> inPredicate) VisitInPredicate
.default void
visit
(UnaryPredicate unaryPredicate) VisitUnaryPredicate
.default void
visitArrayContains
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression) void
visitContains
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase) void
visitEndsWith
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase) void
visitEquals
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase) void
visitGreaterThan
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) void
visitGreaterThanOrEquals
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) void
visitIdEquals
(jakarta.persistence.criteria.Expression<?> expression) void
visitIn
(jakarta.persistence.criteria.Expression<?> expression, Collection<?> values, boolean negated) void
visitInBetween
(jakarta.persistence.criteria.Expression<?> value, jakarta.persistence.criteria.Expression<?> from, jakarta.persistence.criteria.Expression<?> to) void
visitIsEmpty
(jakarta.persistence.criteria.Expression<?> expression) void
visitIsFalse
(jakarta.persistence.criteria.Expression<?> expression) void
visitIsNotEmpty
(jakarta.persistence.criteria.Expression<?> expression) void
visitIsNotNull
(jakarta.persistence.criteria.Expression<?> expression) void
visitIsNull
(jakarta.persistence.criteria.Expression<?> expression) void
visitIsTrue
(jakarta.persistence.criteria.Expression<?> expression) void
visitLessThan
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) void
visitLessThanOrEquals
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) void
visitNotEquals
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase) default void
visitRegexp
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression) void
visitStartsWith
(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
-
Method Details
-
getRequiredProperty
Get the required property defined by the property path.- Parameters:
persistentPropertyPath
- The criteria property- Returns:
- The property
-
visit
Description copied from interface:PredicateVisitor
VisitUnaryPredicate
.- Specified by:
visit
in interfacePredicateVisitor
- Parameters:
unaryPredicate
- The unary predicate
-
visit
Description copied from interface:PredicateVisitor
VisitBetweenPredicate
.- Specified by:
visit
in interfacePredicateVisitor
- Parameters:
betweenPredicate
- The between predicate
-
visit
Description copied from interface:PredicateVisitor
VisitBinaryPredicate
.- Specified by:
visit
in interfacePredicateVisitor
- Parameters:
binaryPredicate
- The binary predicate
-
visitIdEquals
void visitIdEquals(jakarta.persistence.criteria.Expression<?> expression) -
appendPredicate
default void appendPredicate(PredicateBinaryOp op, jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) -
visitContains
void visitContains(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase) -
visitEndsWith
void visitEndsWith(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase) -
visitRegexp
default void visitRegexp(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression) -
visitArrayContains
default void visitArrayContains(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression) -
visitStartsWith
void visitStartsWith(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase) -
visitEquals
void visitEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase) -
visitNotEquals
void visitNotEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase) -
visitGreaterThan
void visitGreaterThan(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) -
visitGreaterThanOrEquals
void visitGreaterThanOrEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) -
visitLessThan
void visitLessThan(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) -
visitLessThanOrEquals
void visitLessThanOrEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression) -
visitInBetween
void visitInBetween(jakarta.persistence.criteria.Expression<?> value, jakarta.persistence.criteria.Expression<?> from, jakarta.persistence.criteria.Expression<?> to) -
visitIsFalse
void visitIsFalse(jakarta.persistence.criteria.Expression<?> expression) -
visitIsNotNull
void visitIsNotNull(jakarta.persistence.criteria.Expression<?> expression) -
visitIsNull
void visitIsNull(jakarta.persistence.criteria.Expression<?> expression) -
visitIsTrue
void visitIsTrue(jakarta.persistence.criteria.Expression<?> expression) -
visitIsEmpty
void visitIsEmpty(jakarta.persistence.criteria.Expression<?> expression) -
visitIsNotEmpty
void visitIsNotEmpty(jakarta.persistence.criteria.Expression<?> expression) -
visit
Description copied from interface:PredicateVisitor
VisitInPredicate
.- Specified by:
visit
in interfacePredicateVisitor
- Parameters:
inPredicate
- The IN predicate
-
visitIn
void visitIn(jakarta.persistence.criteria.Expression<?> expression, Collection<?> values, boolean negated)
-