Package org.gbif.api.util.iterables
Class DownloadStatisticPager
- java.lang.Object
-
- org.gbif.api.util.iterables.BasePager<DownloadStatistics>
-
- org.gbif.api.util.iterables.DownloadStatisticPager
-
- All Implemented Interfaces:
Iterable<DownloadStatistics>
public class DownloadStatisticPager extends BasePager<DownloadStatistics>
Iterates over results ofOccurrenceDownloadService.getDownloadStatistics(Date, Date, Country, UUID, UUID, Pageable)
.
-
-
Constructor Summary
Constructors Constructor Description DownloadStatisticPager(OccurrenceDownloadService service, Date fromDate, Date toDate, Country publishingCountry, UUID datasetKey, UUID publishingOrgKey, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingResponse<DownloadStatistics>
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
-
DownloadStatisticPager
public DownloadStatisticPager(OccurrenceDownloadService service, @Nullable Date fromDate, @Nullable Date toDate, @Nullable Country publishingCountry, @Nullable UUID datasetKey, @Nullable UUID publishingOrgKey, int pageSize)
-
-
Method Detail
-
nextPage
public PagingResponse<DownloadStatistics> nextPage(PagingRequest page)
- Specified by:
nextPage
in classBasePager<DownloadStatistics>
-
-