Interface SearchRequest<T>
public interface SearchRequest<T>
Marker interface for generated search request objects that can produce
a QueryDSL
Predicate
for searching, while still supporting
a JPA Specification
.-
Method Summary
Modifier and TypeMethodDescriptiondefault com.querydsl.core.types.Predicate
Returns a QueryDSL predicate representing the search criteria.org.springframework.data.jpa.domain.Specification
<T> Returns a JPA specification representing the search criteria.
-
Method Details
-
toPredicate
default com.querydsl.core.types.Predicate toPredicate()Returns a QueryDSL predicate representing the search criteria. -
toSpecification
org.springframework.data.jpa.domain.Specification<T> toSpecification()Returns a JPA specification representing the search criteria.
-