Package org.gbif.api.model.occurrence
Class DownloadStatistics
java.lang.Object
org.gbif.api.model.occurrence.DownloadStatistics
Monthly dataset download statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionDownloadStatistics
(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getMonth()
int
getYear()
Ignore in serialization, only year and month is relevant.int
hashCode()
void
setDatasetKey
(UUID datasetKey) void
setNumberDownloads
(Long numberDownloads) void
setTotalRecords
(Long totalRecords) void
setYearMonth
(LocalDate yearMonth) toString()
-
Constructor Details
-
DownloadStatistics
public DownloadStatistics() -
DownloadStatistics
public DownloadStatistics(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth)
-
-
Method Details
-
getDatasetKey
-
setDatasetKey
-
getTotalRecords
-
setTotalRecords
-
getNumberDownloads
-
setNumberDownloads
-
getYearMonth
Ignore in serialization, only year and month is relevant. -
setYearMonth
-
getYear
-
getMonth
-
equals
-
hashCode
-
toString
-