Package io.micronaut.data.repository
Interface PageableRepository<E,ID>
- Type Parameters:
E
- The entity typeID
- The ID type
- All Superinterfaces:
CrudRepository<E,
,ID> GenericRepository<E,
ID>
- All Known Subinterfaces:
JpaRepository<E,
ID>
A repository that supports pagination.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Method Summary
Methods inherited from interface io.micronaut.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findById, save, saveAll, update, updateAll
-
Method Details
-
findAll
Find all results for the given sort order.- Parameters:
sort
- The sort- Returns:
- The iterable results
-
findAll
Finds all records for the given pageable.- Parameters:
pageable
- The pageable.- Returns:
- The results
-