Interface ListQuerydslPredicateExecutor<T>
- All Superinterfaces:
QuerydslPredicateExecutor<T>
Interface to allow execution of QueryDsl
Predicate
instances. This an extension to
QuerydslPredicateExecutor
returning List
instead of Iterable
where applicable.- Since:
- 3.0
- Author:
- Jens Schauder
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfindAll
(com.querydsl.core.types.OrderSpecifier<?>... orders) Returns all entities ordered by the givenOrderSpecifier
s.findAll
(com.querydsl.core.types.Predicate predicate) Returns all entities matching the givenPredicate
.findAll
(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders) Returns all entities matching the givenPredicate
applying the givenOrderSpecifier
s.Returns all entities matching the givenPredicate
applying the givenSort
.
-
Method Details
-
findAll
Returns all entities matching the givenPredicate
. In case no match could be found an emptyList
is returned.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
- Parameters:
predicate
- must not be null.- Returns:
- all entities matching the given
Predicate
.
-
findAll
Returns all entities matching the givenPredicate
applying the givenSort
. In case no match could be found an emptyList
is returned.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
- Parameters:
predicate
- must not be null.sort
- theSort
specification to sort the results by, may beSort.unsorted()
, must not be null.- Returns:
- all entities matching the given
Predicate
.
-
findAll
List<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders) Returns all entities matching the givenPredicate
applying the givenOrderSpecifier
s. In case no match could be found an emptyList
is returned.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
- Parameters:
predicate
- must not be null.orders
- theOrderSpecifier
s to sort the results by, must not be null.- Returns:
- all entities matching the given
Predicate
applying the givenOrderSpecifier
s.
-
findAll
Returns all entities ordered by the givenOrderSpecifier
s.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
- Parameters:
orders
- theOrderSpecifier
s to sort the results by, must not be null.- Returns:
- all entities ordered by the given
OrderSpecifier
s.
-