@NoRepositoryBean public interface PagingAndSortingRepository<T,ID> extends CrudRepository<T,ID>
CrudRepository to provide additional methods to retrieve entities using the pagination and
sorting abstraction.| Modifier and Type | Method and Description |
|---|---|
Page<T> |
findAll(Pageable pageable)
Returns a
Page of entities meeting the paging restriction provided in the Pageable object. |
Iterable<T> |
findAll(Sort sort)
Returns all entities sorted by the given options.
|
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAllCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.