Interface ListQuerydslPredicateExecutor<T>

All Superinterfaces:
QuerydslPredicateExecutor<T>

public interface ListQuerydslPredicateExecutor<T> extends 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 Type
    Method
    Description
    findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
    Returns all entities ordered by the given OrderSpecifiers.
    findAll(com.querydsl.core.types.Predicate predicate)
    Returns all entities matching the given Predicate.
    findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
    Returns all entities matching the given Predicate applying the given OrderSpecifiers.
    findAll(com.querydsl.core.types.Predicate predicate, Sort sort)
    Returns all entities matching the given Predicate applying the given Sort.

    Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findAll

      List<T> findAll(com.querydsl.core.types.Predicate predicate)
      Returns all entities matching the given Predicate. In case no match could be found an empty List is returned.
      Specified by:
      findAll in interface QuerydslPredicateExecutor<T>
      Parameters:
      predicate - must not be null.
      Returns:
      all entities matching the given Predicate.
    • findAll

      List<T> findAll(com.querydsl.core.types.Predicate predicate, Sort sort)
      Returns all entities matching the given Predicate applying the given Sort. In case no match could be found an empty List is returned.
      Specified by:
      findAll in interface QuerydslPredicateExecutor<T>
      Parameters:
      predicate - must not be null.
      sort - the Sort specification to sort the results by, may be Sort.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 given Predicate applying the given OrderSpecifiers. In case no match could be found an empty List is returned.
      Specified by:
      findAll in interface QuerydslPredicateExecutor<T>
      Parameters:
      predicate - must not be null.
      orders - the OrderSpecifiers to sort the results by, must not be null.
      Returns:
      all entities matching the given Predicate applying the given OrderSpecifiers.
    • findAll

      List<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
      Returns all entities ordered by the given OrderSpecifiers.
      Specified by:
      findAll in interface QuerydslPredicateExecutor<T>
      Parameters:
      orders - the OrderSpecifiers to sort the results by, must not be null.
      Returns:
      all entities ordered by the given OrderSpecifiers.