Package org.gbif.api.util.iterables
Class DatasetSearchResultsPager
- java.lang.Object
-
- org.gbif.api.util.iterables.BasePager<DatasetSearchResult>
-
- org.gbif.api.util.iterables.DatasetSearchResultsPager
-
- All Implemented Interfaces:
Iterable<DatasetSearchResult>
public class DatasetSearchResultsPager extends BasePager<DatasetSearchResult>
Pages through all datasets search results.
-
-
Constructor Summary
Constructors Constructor Description DatasetSearchResultsPager(DatasetSearchService datasetSearchService, DatasetSearchRequest datasetSearchRequest, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingResponse<DatasetSearchResult>
nextPage(PagingRequest page)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DatasetSearchResultsPager
public DatasetSearchResultsPager(DatasetSearchService datasetSearchService, @Nullable DatasetSearchRequest datasetSearchRequest, int pageSize)
-
-
Method Detail
-
nextPage
public PagingResponse<DatasetSearchResult> nextPage(PagingRequest page)
- Specified by:
nextPage
in classBasePager<DatasetSearchResult>
-
-