|
Spring Data Jpa | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryDslPredicateExecutor<T>
Interface to allow execution of QueryDsl Predicate instances.
| Method Summary | |
|---|---|
Long |
count(com.mysema.query.types.Predicate predicate)
Returns the number of instances that the given Predicate will
return. |
List<T> |
findAll(com.mysema.query.types.Predicate predicate)
Returns all entities matching the given Predicate. |
List<T> |
findAll(com.mysema.query.types.Predicate predicate,
com.mysema.query.types.OrderSpecifier<?>... orders)
Returns all entities matching the given Predicate applying the
given OrderSpecifiers. |
org.springframework.data.domain.Page<T> |
findAll(com.mysema.query.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable)
Returns a Page of entities matching the given Predicate. |
T |
findOne(com.mysema.query.types.Predicate predicate)
Returns a single entity matching the given Predicate. |
| Method Detail |
|---|
T findOne(com.mysema.query.types.Predicate predicate)
Predicate.
spec -
List<T> findAll(com.mysema.query.types.Predicate predicate)
Predicate.
spec -
List<T> findAll(com.mysema.query.types.Predicate predicate,
com.mysema.query.types.OrderSpecifier<?>... orders)
Predicate applying the
given OrderSpecifiers.
predicate - orders -
org.springframework.data.domain.Page<T> findAll(com.mysema.query.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable)
Page of entities matching the given Predicate.
predicate - pageable -
Long count(com.mysema.query.types.Predicate predicate)
Predicate will
return.
predicate - the Predicate to count instances for
|
Spring Data Jpa | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||