public class EqualIgnoreCase<T> extends Equal<T>
Filters with equal where-clause (e.g. where firstName = "Homer").
Supports multiple field types: strings, numbers, booleans, enums, dates.
If the field type is string, the where-clause is case insensitive
expectedValuepath| Constructor and Description |
|---|
EqualIgnoreCase(String path,
String[] httpParamValues,
Converter converter) |
| 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) |
equals, hashCode, pathpublic javax.persistence.criteria.Predicate toPredicate(javax.persistence.criteria.Root<T> root, javax.persistence.criteria.CriteriaQuery<?> query, javax.persistence.criteria.CriteriaBuilder cb)
toPredicate in interface org.springframework.data.jpa.domain.Specification<T>toPredicate in class Equal<T>Copyright © 2014–2017. All rights reserved.