public class PopulationStatisticsClient extends AbstractClient
locale, localization, queryBuilder| Constructor and Description |
|---|
PopulationStatisticsClient()
Default constructor.
|
PopulationStatisticsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<AverageAge> |
getAverageAge()
Fetch all average age data.
|
List<AverageAge> |
getAverageAge(Collection<String> regions,
Collection<String> genders,
Collection<Integer> years)
Fetch all average age data which match the input constraints.
|
List<LiveBirth> |
getLiveBirths()
Fetch all live births data.
|
List<LiveBirth> |
getLiveBirths(Collection<String> regions,
Collection<String> motherAges,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all live births data which match the input constraints.
|
List<Population> |
getPopulation()
Fetch all population data data.
|
List<Population> |
getPopulation(Collection<String> regions,
Collection<String> relationshipStatuses,
Collection<String> ages,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all population data which match the input constraints.
|
get, getBaseUrl, getLocale, getRegions, getYears, post, setLocale, setLocalizationLanguagepublic PopulationStatisticsClient()
public PopulationStatisticsClient(Locale locale)
locale - the locale for this clientpublic List<AverageAge> getAverageAge()
AverageAge objectsgetAverageAge(Collection, Collection, Collection)public List<AverageAge> getAverageAge(Collection<String> regions, Collection<String> genders, Collection<Integer> years)
regions - the regions to fetch data forgenders - the genders to fetch data foryears - the years to fetch data forAverageAge objectspublic List<LiveBirth> getLiveBirths()
LiveBirth objectsgetLiveBirths(Collection, Collection, Collection, Collection)public List<LiveBirth> getLiveBirths(Collection<String> regions, Collection<String> motherAges, Collection<Integer> genders, Collection<Integer> years)
regions - the regions to fetch data formotherAges - the mothers' ages to fetch data forgenders - the genders to fetch data foryears - the years to fetch data forLiveBirth objectspublic List<Population> getPopulation()
Population objectsgetPopulation(Collection, Collection, Collection, Collection,
Collection)public List<Population> getPopulation(Collection<String> regions, Collection<String> relationshipStatuses, Collection<String> ages, Collection<Integer> genders, Collection<Integer> years)
regions - the regions to fetch data forrelationshipStatuses - the relationship statuses to fetch data forages - the ages to fetch data forgenders - the genders to fetch data foryears - the years to fetch data forPopulation objectsCopyright © 2016. All rights reserved.