Interface PageableRepository<E,ID>

Type Parameters:
E - The entity type
ID - The ID type
All Superinterfaces:
CrudRepository<E,ID>, GenericRepository<E,ID>
All Known Subinterfaces:
JpaRepository<E,ID>

public interface PageableRepository<E,ID> extends CrudRepository<E,ID>
A repository that supports pagination.
Since:
1.0.0
Author:
graemerocher
  • Method Details

    • findAll

      @NonNull @NonNull List<E> findAll(@NonNull @NonNull Sort sort)
      Find all results for the given sort order.
      Parameters:
      sort - The sort
      Returns:
      The iterable results
    • findAll

      @NonNull @NonNull Page<E> findAll(@NonNull @NonNull Pageable pageable)
      Finds all records for the given pageable.
      Parameters:
      pageable - The pageable.
      Returns:
      The results