Interface PredicateBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementation of this interface can participate in the building of
CriteriaQuery
created by one the query builders.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
This interface allows to create subqueries in predicates without exposing theCriteriaQuery
instance. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Predicate
createPredicate
(jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, jakarta.persistence.criteria.From<?, ?> queryRoot, FieldAccessor fieldAccessor, PredicateBuilder.SubqueryFactory subqueryFactory, Map<String, ?> queryHints)
-
Method Details
-
createPredicate
jakarta.persistence.criteria.Predicate createPredicate(jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, jakarta.persistence.criteria.From<?, ?> queryRoot, FieldAccessor fieldAccessor, PredicateBuilder.SubqueryFactory subqueryFactory, Map<String, ?> queryHints)
-