Skip to content

Commit

Permalink
Remove CloseableIterator from supported repository return types.
Browse files Browse the repository at this point in the history
`CloseableIterator` wasn't intended to be here in the first place as it is only an intermediate type.

Closes #2835
  • Loading branch information
mp911de committed May 30, 2023
1 parent 9b9d01c commit 2937d62
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/asciidoc/repositories-paging-sorting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ The table shows which types you can return from a query method
| Single query using typically cursors.
| Store module must provide reactive infrastructure.

| `CloseableIterator<T>`
| Chunked (one-by-one or in batches) depending on `CloseableIterator` consumption.
| Single query using typically cursors.
| `CloseableIterator` need to be closed after usage to avoid resource leaks.

| `Slice<T>`
| `Pageable.getPageSize() + 1` at `Pageable.getOffset()`
| One to many queries fetching data starting at `Pageable.getOffset()` applying limiting.
Expand Down

0 comments on commit 2937d62

Please sign in to comment.