public interface Specification<T>
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
- query
- Predicate
, must not be null.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.