public class In<T> extends PathSpecification<T>
Filters with "in" where-clause (e.g. where firstName in ("Homer", "Marge")).
Values to match against should be provided as multiple values of a single HTTP parameter, eg.:
GET http://myhost/customers?firstName=Homer&firstName=Marge.
Supports multiple field types: strings, numbers, booleans, enums, dates.
path| Constructor and Description |
|---|
In(QueryContext queryContext,
String path,
String[] httpParamValues,
Converter converter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
javax.persistence.criteria.Predicate |
toPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaQuery<?> query,
javax.persistence.criteria.CriteriaBuilder cb) |
String |
toString() |
pathpublic In(QueryContext queryContext, String path, String[] httpParamValues, Converter converter)
public javax.persistence.criteria.Predicate toPredicate(javax.persistence.criteria.Root<T> root, javax.persistence.criteria.CriteriaQuery<?> query, javax.persistence.criteria.CriteriaBuilder cb)
public int hashCode()
hashCode in class PathSpecification<T>public boolean equals(Object obj)
equals in class PathSpecification<T>Copyright © 2014–2020. All rights reserved.