Remove CloseableIterator from supported repository return types.

`CloseableIterator` wasn't intended to be here in the first place as it is only an intermediate type.

Closes #2835
This commit is contained in:
Mark Paluch
2023-05-30 10:15:00 +02:00
parent 9b9d01c1a0
commit 2937d620ad

View File

@@ -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.