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 Detail

      • findAll

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

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