public final class RegionQuery extends CensusRankQuery<RegionQuery,Region,RegionShard>
shardsrateLimiter, resourceValuelogger| Constructor and Description |
|---|
RegionQuery(String regionName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURL()
Generates a String URL based on the supplied values.
|
RegionQuery |
messagesOffset(int offset)
Sets the offset for the 10 most recent regional messages.
|
protected String |
resourceString()
Gives the resource string of this Query, e.g.
|
protected void |
validateQueryParameters()
Validates the query parameters before executing the query.
|
censusRanksStartcensusHistoryFrom, censusHistoryTo, censusIds, censusModesshardsexecute, getRateLimitercloseInputStreamQuietly, execute, makeRequest, translateResponsepublic RegionQuery(String regionName)
regionName - name of the region to querypublic final RegionQuery messagesOffset(int offset)
offset - the offset for the 10 most recent regional messagesprotected String resourceString()
APIQueryresourceString in class APIQuery<RegionQuery,Region>protected void validateQueryParameters()
AbstractQueryvalidateQueryParameters in class AbstractQuery<RegionQuery,Region>protected String buildURL()
AbstractQuerybuildURL in class CensusRankQuery<RegionQuery,Region,RegionShard>Copyright © 2016. All rights reserved.