Interface AsyncPageableRepository<E,ID>
- Type Parameters:
E
- The entity typeID
- The ID type
- All Superinterfaces:
AsyncCrudRepository<E,
,ID> GenericRepository<E,
ID>
A repository that supports pagination.
- Since:
- 3.4.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription@NonNull CompletableFuture<Page<E>>
Finds all records for the given pageable.@NonNull CompletableFuture<E>
Find all results for the given sort order.Methods inherited from interface io.micronaut.data.repository.async.AsyncCrudRepository
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 results publisher
-
findAll
Finds all records for the given pageable.- Parameters:
pageable
- The pageable.- Returns:
- The results publisher
-