public class ProvinceAndIspFlowRequest extends CommonFieldRequest
获取域名在中国大陆地区各省市及各运营商的流量数据,仅包括边缘节点数据
支持按指定的起止时间查询,两者需要同时指定
支持批量域名查询,多个域名ID用逗号(半角)分隔
最多可获取最近三年内93天跨度的数据
统计粒度:5分钟粒度;10分钟粒度;20分钟粒度;1小时粒度;4小时粒度;8小时粒度;1天粒度;**以上粒度均取该粒度时间段的流量之和**
使用场景
客户查询单个域名或多个域名在各个省份及运营商的合并后的实时流量数据
客户查询单个域名的详细流量数据,进行数据保存及数据分析
客户查询某一天或某1小时的详细流量区域分布,用于制作流量数据区域用量表
| Constructor and Description |
|---|
ProvinceAndIspFlowRequest() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
buildParams()
生成get请求的请求参数
|
GeneralRequestParam |
getGeneralRequestParam()
未实现,留在子类中实现
|
String |
getGranularity() |
String |
getIsps() |
String |
getProvinces() |
String |
getResultType() |
void |
setGranularity(String granularity) |
void |
setIsps(String isps) |
void |
setProvinces(String provinces) |
void |
setResultType(String resultType) |
getCdnType, getDomainIds, getEndTime, getGranularity, getStartTime, setCdnType, setDomainIds, setEndTime, setStartTimepublic String getProvinces()
public void setProvinces(String provinces)
public String getIsps()
public void setIsps(String isps)
public String getResultType()
public void setResultType(String resultType)
public String getGranularity()
public void setGranularity(String granularity)
public Map<String,String> buildParams() throws KscClientException, ParseException
GeneralRequestbuildParams in interface GeneralRequestbuildParams in class CommonFieldRequestKscClientExceptionParseExceptionpublic GeneralRequestParam getGeneralRequestParam()
CommonFieldRequestgetGeneralRequestParam in interface GeneralRequestgetGeneralRequestParam in class CommonFieldRequestCopyright © 2023. All rights reserved.