Q - the child class that extends this abstract classR - the type the child class' execute()-function returnsS - the shard type the child class acceptspublic abstract class CensusRankQuery<Q extends CensusRankQuery,R,S extends Shard> extends CensusQuery<Q,R,S>
shardsrateLimiter, resourceValuelogger| Constructor and Description |
|---|
CensusRankQuery(String resourceValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURL()
Generates a String URL based on the supplied values.
|
Q |
censusRanksStart(int rank)
Sets a rank to start the retrieved census rank scores list from.
|
censusHistoryFrom, censusHistoryTo, censusIds, censusIds, censusModesshardsexecute, getRateLimiter, resourceString, slowMode, validateQueryParameterscloseInputStreamQuietly, execute, makeRequest, translateResponsepublic CensusRankQuery(String resourceValue)
resourceValue - the resource valuepublic final Q censusRanksStart(int rank)
rank - the rank to start the retrieved census rank scores list fromprotected String buildURL()
AbstractQuerybuildURL in class CensusQuery<Q extends CensusRankQuery,R,S extends Shard>Copyright © 2016. All rights reserved.