Package org.gbif.api.service.occurrence
Interface OccurrenceCountryIndexService
-
public interface OccurrenceCountryIndexService
Supports the listing of countries having occurrence records.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Country,Long>
countriesForPublishingCountry(Country publishingCountry)
Lists all countries occurrences are falling into that have been published by a given country.Map<Country,Long>
publishingCountriesForCountry(Country country)
Lists all publishing countries of occurrences falling within a given country.
-
-
-
Method Detail
-
publishingCountriesForCountry
Map<Country,Long> publishingCountriesForCountry(Country country)
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
Map<Country,Long> countriesForPublishingCountry(Country publishingCountry)
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
-
-