Package sk.iway.iwcm.stat
Class StatGraphDB
java.lang.Object
sk.iway.iwcm.stat.StatGraphDB
StatGraphDB.java
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
static final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBrowserTimeData
(int maxRows, Date from, Date to, String groupIdsQuery) getBrowserTimeData
(int maxRows, Date from, Date to, String groupIdsQuery, boolean withoutBots) Gets the browserTimeData attribute of the StatDB objectgetCountryTimeData
(int max_size, Date from, Date to, String groupIdsQuery) Povodne sa zobrazovali iba domeny, napr.getCountryTimeData
(int maxRows, Date from, Date to, String groupIdsQuery, boolean countryNameAsTld, javax.servlet.http.HttpServletRequest request) getCountryTimeData
(int maxRows, Date from, Date to, String groupIdsQuery, boolean countryNameAsTld, javax.servlet.http.HttpServletRequest request, boolean withoutBots) Gets the countryTimeData attribute of the StatDB objectgetInquiryPieData
(Date from, Date to, int questionId, int userId, Prop prop, javax.servlet.http.HttpServletRequest request) Gets the InquiryPieData attribute of the StatDB objectgetInquiryTimeData
(int maxRows, Date from, Date to, int questionId, int userId, javax.servlet.http.HttpServletRequest request) Gets the InquiryTimeData attribute of the StatDB object
-
Field Details
-
COUNTRY_NAMES_AS_TLD
public static final boolean COUNTRY_NAMES_AS_TLD- See Also:
-
FULL_COUNTRY_NAMES
public static final boolean FULL_COUNTRY_NAMES- See Also:
-
-
Constructor Details
-
StatGraphDB
protected StatGraphDB()
-
-
Method Details
-
getCountryTimeData
public static Map<String,Map<Date, getCountryTimeDataNumber>> (int max_size, Date from, Date to, String groupIdsQuery) Povodne sa zobrazovali iba domeny, napr. .com, .sk a podobne. Stara funkcionalita sa zachovava pomocou tohoto volania.- Parameters:
max_size
- int kolko zaznamov chceme zobrazitfrom
- Date odkedyto
- Date dokedygroupIdsQuery
-- Returns:
- TimeSeriesCollection zoznam podkladov pre graf
- See Also:
-
getCountryTimeData
-
getCountryTimeData
public static Map<String,Map<Date, getCountryTimeDataNumber>> (int maxRows, Date from, Date to, String groupIdsQuery, boolean countryNameAsTld, javax.servlet.http.HttpServletRequest request, boolean withoutBots) Gets the countryTimeData attribute of the StatDB object- Parameters:
maxRows
- Description of the Parameterfrom
- Description of the Parameterto
- Description of the Parameter- Returns:
- The countryTimeData value
-
getBrowserTimeData
-
getBrowserTimeData
public static Map<String,Map<Date, getBrowserTimeDataNumber>> (int maxRows, Date from, Date to, String groupIdsQuery, boolean withoutBots) Gets the browserTimeData attribute of the StatDB object- Parameters:
maxRows
- Description of the Parameterfrom
- Description of the Parameterto
- Description of the Parameter- Returns:
- The browserTimeData value
-
getInquiryTimeData
public static Map<String,Map<Date, getInquiryTimeDataNumber>> (int maxRows, Date from, Date to, int questionId, int userId, javax.servlet.http.HttpServletRequest request) Gets the InquiryTimeData attribute of the StatDB object- Parameters:
maxRows
- Description of the Parameterfrom
- Description of the Parameterto
- Description of the ParameterquestionId
-request
-- Returns:
- The inquiryTimeData value
-
getInquiryPieData
public static Map<String,Number> getInquiryPieData(Date from, Date to, int questionId, int userId, Prop prop, javax.servlet.http.HttpServletRequest request) Gets the InquiryPieData attribute of the StatDB object- Parameters:
from
- Description of the Parameterto
- Description of the ParameterquestionId
- Description of the Parameterrequest
- Description of the Parameter- Returns:
- The inquiryPieData value
-