Package com.foxinmy.weixin4j.mp.type
Enum DatacubeType
- java.lang.Object
- 
- java.lang.Enum<DatacubeType>
- 
- com.foxinmy.weixin4j.mp.type.DatacubeType
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<DatacubeType>
 
 public enum DatacubeType extends Enum<DatacubeType> 数据统计类型- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description GETARTICLESUMMARY获取图文群发每日数据GETARTICLETOTAL获取图文群发总数据,获取的是某天所有被阅读过的文章(仅包括群发的文章)在当天的阅读次数等数据。GETINTERFACESUMMARY获取接口分析数据GETINTERFACESUMMARYHOUR获取接口分析分时数据GETUPSTREAMMSG获取消息发送概况数据GETUPSTREAMMSGDIST获取消息发送分布数据GETUPSTREAMMSGDISTMONTH获取消息发送分布月数据GETUPSTREAMMSGDISTWEEK获取消息发送分布周数据GETUPSTREAMMSGHOUR获取消息分送分时数据GETUPSTREAMMSGMONTH获取消息发送月数据GETUPSTREAMMSGWEEK获取消息发送周数据 关于周数据与月数据,请注意:每个月/周的周期数据的数据标注日期在当月/当周的第一天(当月1日或周一)。在某一月/周过后去调用接口 ,才能获取到该周期的数据 。比如,在12月1日以(11月1日-11月5日)作为(begin_date和end_date)调用获取月数据接口,可以获取到11月1日的月数据 (即11月的月数据)。GETUSERCUMULATE获取累计用户数据GETUSERREAD获取图文统计数据,获取的是某天群发的文章,从群发日起到接口调用日(但最多统计发表日后7天数据), 每天的到当天的总等数据。例如某篇文章是12月1日发出的,发出后在1日 、2日、3日的阅读次数分别为1万,则getarticletotal获取到的数据为 ,距发出到12月1日24时的总阅读量为1万,距发出到12月2日24时的总阅读量为2万,距发出到12月1日24时的总阅读量为3万。GETUSERREADHOUR获取图文统计分时数据GETUSERSHARE获取图文分享转发数据GETUSERSHAREHOUR获取图文分享转发分时数据GETUSERSUMMARY获取用户增减数据
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getClazz()static DatacubeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DatacubeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
GETUSERSUMMARYpublic static final DatacubeType GETUSERSUMMARY 获取用户增减数据
 - 
GETUSERCUMULATEpublic static final DatacubeType GETUSERCUMULATE 获取累计用户数据
 - 
GETARTICLESUMMARYpublic static final DatacubeType GETARTICLESUMMARY 获取图文群发每日数据
 - 
GETARTICLETOTALpublic static final DatacubeType GETARTICLETOTAL 获取图文群发总数据,获取的是某天所有被阅读过的文章(仅包括群发的文章)在当天的阅读次数等数据。
 - 
GETUSERREADpublic static final DatacubeType GETUSERREAD 获取图文统计数据,获取的是某天群发的文章,从群发日起到接口调用日(但最多统计发表日后7天数据), 每天的到当天的总等数据。例如某篇文章是12月1日发出的,发出后在1日 、2日、3日的阅读次数分别为1万,则getarticletotal获取到的数据为 ,距发出到12月1日24时的总阅读量为1万,距发出到12月2日24时的总阅读量为2万,距发出到12月1日24时的总阅读量为3万。
 - 
GETUSERREADHOURpublic static final DatacubeType GETUSERREADHOUR 获取图文统计分时数据
 - 
GETUSERSHAREpublic static final DatacubeType GETUSERSHARE 获取图文分享转发数据
 - 
GETUSERSHAREHOURpublic static final DatacubeType GETUSERSHAREHOUR 获取图文分享转发分时数据
 - 
GETUPSTREAMMSGpublic static final DatacubeType GETUPSTREAMMSG 获取消息发送概况数据
 - 
GETUPSTREAMMSGHOURpublic static final DatacubeType GETUPSTREAMMSGHOUR 获取消息分送分时数据
 - 
GETUPSTREAMMSGWEEKpublic static final DatacubeType GETUPSTREAMMSGWEEK 获取消息发送周数据 关于周数据与月数据,请注意:每个月/周的周期数据的数据标注日期在当月/当周的第一天(当月1日或周一)。在某一月/周过后去调用接口 ,才能获取到该周期的数据 。比如,在12月1日以(11月1日-11月5日)作为(begin_date和end_date)调用获取月数据接口,可以获取到11月1日的月数据 (即11月的月数据)。
 - 
GETUPSTREAMMSGMONTHpublic static final DatacubeType GETUPSTREAMMSGMONTH 获取消息发送月数据
 - 
GETUPSTREAMMSGDISTpublic static final DatacubeType GETUPSTREAMMSGDIST 获取消息发送分布数据
 - 
GETUPSTREAMMSGDISTWEEKpublic static final DatacubeType GETUPSTREAMMSGDISTWEEK 获取消息发送分布周数据
 - 
GETUPSTREAMMSGDISTMONTHpublic static final DatacubeType GETUPSTREAMMSGDISTMONTH 获取消息发送分布月数据
 - 
GETINTERFACESUMMARYpublic static final DatacubeType GETINTERFACESUMMARY 获取接口分析数据
 - 
GETINTERFACESUMMARYHOURpublic static final DatacubeType GETINTERFACESUMMARYHOUR 获取接口分析分时数据
 
- 
 - 
Method Detail- 
valuespublic static DatacubeType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DatacubeType c : DatacubeType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DatacubeType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getClazzpublic Class<?> getClazz() 
 
- 
 
-