T - The entity typepublic interface Specification<T>
Specification.| Modifier and Type | Method and Description |
|---|---|
javax.persistence.criteria.Predicate |
toPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaQuery<?> query,
javax.persistence.criteria.CriteriaBuilder cb)
Creates a WHERE clause for a query of the referenced entity in form of a
Predicate for the given
Root and CriteriaQuery. |
javax.persistence.criteria.Predicate toPredicate(javax.persistence.criteria.Root<T> root, javax.persistence.criteria.CriteriaQuery<?> query, javax.persistence.criteria.CriteriaBuilder cb)
Predicate for the given
Root and CriteriaQuery.root - The query rootquery - The criteria queryPredicate, may be nullCopyright © 2014–2018 Blazebit. All rights reserved.