Package org.gbif.api.service.occurrence
Interface OccurrenceDistributionIndexService
public interface OccurrenceDistributionIndexService
Supports listing occurrence counts by known dimensions.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the occurrence records count by basis of record.Returns the occurrence records count by kingdom.getYearCounts
(@javax.validation.constraints.Min(0L) int from, @javax.validation.constraints.Min(0L) int to) Returns the occurrence records count by year.
-
Method Details
-
getBasisOfRecordCounts
Returns the occurrence records count by basis of record. The result is ordered descending by the count. -
getKingdomCounts
Returns the occurrence records count by kingdom. The result is ordered descending by the count. -
getYearCounts
Map<Integer,Long> getYearCounts(@Min(0L) @javax.validation.constraints.Min(0L) int from, @Min(0L) @javax.validation.constraints.Min(0L) int to) Returns the occurrence records count by year. The result is ordered descending by the count.- Parameters:
from
- minimum yearto
- maximum year
-