@ExperimentalApi
public interface PagedSearcher<T>
| Modifier and Type | Method and Description |
|---|---|
default Iterable<T> |
asIterable(int batchSize)
Returns
Iterable fetching subsequent results in batches of the given size. |
List<T> |
fetchNextBatch(int batchSize)
Returns subsequent batch of results for the query provided when creating this searcher.
|
List<T> fetchNextBatch(int batchSize)
default Iterable<T> asIterable(int batchSize)
Iterable fetching subsequent results in batches of the given size. Returned Iterable
skips results that were fetched directly using fetchNextBatch(int).Copyright © 2023 Atlassian. All rights reserved.