public interface QueryDslPredicateExecutor<T>
Predicate
instances.Modifier and Type | Method and Description |
---|---|
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 OrderSpecifier s. |
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 . |
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 OrderSpecifier
s.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 forCopyright © 2011-2013-2013 SpringSource. All Rights Reserved.