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>
public interface PageableRepository<E,ID> extends CrudRepository<E,ID>
A repository that supports pagination.- Since:
- 1.0.0
- Author:
- graemerocher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Page<E>
findAll(Pageable pageable)
Finds all records for the given pageable.java.lang.Iterable<E>
findAll(Sort sort)
Find all results for the given sort order.-
Methods inherited from interface io.micronaut.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findById, save, saveAll, update, updateAll
-
-