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>
shardsgeneralRateLimiter, resourceValueuserAgent| Constructor and Description |
|---|
CensusRankQuery(IXmlConverter xmlConverter,
IRateLimiter generalRateLimiter,
IRateLimiter scrapingRateLimiter,
String baseUrl,
String userAgent,
int apiVersion,
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, censusModesshardsexecute, getRateLimiter, resourceString, slowMode, validateQueryParameterscloseInputStreamQuietly, execute, makeRequest, translateResponsepublic CensusRankQuery(IXmlConverter xmlConverter, IRateLimiter generalRateLimiter, IRateLimiter scrapingRateLimiter, String baseUrl, String userAgent, int apiVersion, String resourceValue)
xmlConverter - generalRateLimiter - scrapingRateLimiter - baseUrl - userAgent - apiVersion - 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 © 2017. All rights reserved.