|
Spring Data Commons | |||||||||
| 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. |
Iterable<T> |
findAll(com.mysema.query.types.Predicate predicate)
Returns all entities matching the given Predicate. |
Iterable<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. |
Page<T> |
findAll(com.mysema.query.types.Predicate predicate,
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 -
Iterable<T> findAll(com.mysema.query.types.Predicate predicate)
Predicate.
spec -
Iterable<T> findAll(com.mysema.query.types.Predicate predicate,
com.mysema.query.types.OrderSpecifier<?>... orders)
Predicate applying the given OrderSpecifiers.
predicate - orders -
Page<T> findAll(com.mysema.query.types.Predicate predicate,
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 Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||