Package org.gbif.api.service.occurrence
Interface OccurrenceDistributionIndexService
-
public interface OccurrenceDistributionIndexService
Supports listing occurrence counts by known dimensions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<BasisOfRecord,Long>
getBasisOfRecordCounts()
Returns the occurrence records count by basis of record.Map<Kingdom,Long>
getKingdomCounts()
Returns the occurrence records count by kingdom.Map<Integer,Long>
getYearCounts(@javax.validation.constraints.Min(0L) int from, @javax.validation.constraints.Min(0L) int to)
Returns the occurrence records count by year.
-
-
-
Method Detail
-
getBasisOfRecordCounts
Map<BasisOfRecord,Long> getBasisOfRecordCounts()
Returns the occurrence records count by basis of record. The result is ordered descending by the count.
-
getKingdomCounts
Map<Kingdom,Long> 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
-
-