public final class NationQuery extends CensusQuery<NationQuery,Nation,NationShard>
shardsrateLimiter, resourceValuelogger| Constructor and Description |
|---|
NationQuery(String nationName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
resourceString()
Gives the resource string of this Query, e.g.
|
protected void |
validateQueryParameters()
Validates the query parameters before executing the query.
|
buildURL, censusHistoryFrom, censusHistoryTo, censusIds, censusIds, censusModesshardsexecute, getRateLimiter, slowModecloseInputStreamQuietly, execute, makeRequest, translateResponsepublic NationQuery(String nationName)
nationName - name of the nation to queryprotected String resourceString()
APIQueryresourceString in class APIQuery<NationQuery,Nation>protected void validateQueryParameters()
AbstractQueryvalidateQueryParameters in class APIQuery<NationQuery,Nation>Copyright © 2016. All rights reserved.