Interface ReactiveSortingRepository<T,ID>

All Superinterfaces:
Repository<T,ID>

@NoRepositoryBean public interface ReactiveSortingRepository<T,ID> extends Repository<T,ID>
Repository fragment to provide methods to retrieve entities using the sorting abstraction. In many cases it should be combined with ReactiveCrudRepository or a similar repository interface in order to add CRUD functionality.
Since:
2.0
Author:
Mark Paluch, Christoph Strobl, Jens Schauder
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Flux<T>
    findAll(Sort sort)
    Returns all entities sorted by the given options.
  • Method Details

    • findAll

      reactor.core.publisher.Flux<T> findAll(Sort sort)
      Returns all entities sorted by the given options.
      Parameters:
      sort - the Sort specification to sort the results by, can be Sort.unsorted(), must not be null.
      Returns:
      all entities sorted by the given options.
      Throws:
      IllegalArgumentException - in case the given Sort is null.