public class LofterQueryPredicateBuilder
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> javax.persistence.criteria.Predicate |
getPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaBuilder cb,
T entity)
Extract the
Predicate representing the Example. |
static <T> javax.persistence.criteria.Predicate |
getPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaBuilder cb,
T entity,
org.springframework.data.domain.ExampleMatcher matcher) |
public static <T> javax.persistence.criteria.Predicate getPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaBuilder cb,
T entity)
Predicate representing the Example.T - Troot - must not be null.cb - must not be null.entity - must not be null.public static <T> javax.persistence.criteria.Predicate getPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaBuilder cb,
T entity,
org.springframework.data.domain.ExampleMatcher matcher)