Interface AsyncPageableRepository<E,ID>

Type Parameters:
E - The entity type
ID - The ID type
All Superinterfaces:
AsyncCrudRepository<E,ID>, GenericRepository<E,ID>

public interface AsyncPageableRepository<E,ID> extends AsyncCrudRepository<E,ID>
A repository that supports pagination.
Since:
3.4.0
Author:
Denis Stepanov
  • Method Details

    • findAll

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

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