Package org.gbif.api.service.occurrence
Interface OccurrenceCountryIndexService
public interface OccurrenceCountryIndexService
Supports the listing of countries having occurrence records.
-
Method Summary
Modifier and TypeMethodDescriptioncountriesForPublishingCountry
(Country publishingCountry) Lists all countries occurrences are falling into that have been published by a given country.publishingCountriesForCountry
(Country country) Lists all publishing countries of occurrences falling within a given country.
-
Method Details
-
publishingCountriesForCountry
Lists all publishing countries of occurrences falling within a given country.- Parameters:
country
- the country the occurrences fall into- Returns:
- map of publishing country to number of occurrences ordered by number of occurrences
-
countriesForPublishingCountry
Lists all countries occurrences are falling into that have been published by a given country.- Returns:
- map of countries to number of occurrences ordered by number of occurrences
-