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 givenOrderSpecifiers.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 givenPredicateapplying the givenOrderSpecifiers.Returns all entities matching the givenPredicateapplying the givenSort.
-
Method Details
-
findAll
Returns all entities matching the givenPredicate. In case no match could be found an emptyListis returned.- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>- Parameters:
predicate- must not be null.- Returns:
- all entities matching the given
Predicate.
-
findAll
Returns all entities matching the givenPredicateapplying the givenSort. In case no match could be found an emptyListis returned.- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>- Parameters:
predicate- must not be null.sort- theSortspecification 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 givenPredicateapplying the givenOrderSpecifiers. In case no match could be found an emptyListis returned.- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>- Parameters:
predicate- must not be null.orders- theOrderSpecifiers to sort the results by, must not be null.- Returns:
- all entities matching the given
Predicateapplying the givenOrderSpecifiers.
-
findAll
Returns all entities ordered by the givenOrderSpecifiers.- Specified by:
findAllin interfaceQuerydslPredicateExecutor<T>- Parameters:
orders- theOrderSpecifiers to sort the results by, must not be null.- Returns:
- all entities ordered by the given
OrderSpecifiers.
-