Class EventAnalyticsReportRequest
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.report.rest.EventAnalyticsReportRequest
-
- All Implemented Interfaces:
IEventAnalyticsReportRequest
- Direct Known Subclasses:
EventAnalyticsDashboardRequest
public class EventAnalyticsReportRequest extends Object implements IEventAnalyticsReportRequest
Event analytics report request.- Since:
- 11.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EventAnalyticsReportRequest.GroupByHolder
-
Constructor Summary
Constructors Constructor Description EventAnalyticsReportRequest(org.json.JSONObject request)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCompareWithAmount()
Returns the compareWithAmount.String
getCompareWithType()
Returns the compareWithType.EventFilterData
getEventFilter()
Returns the eventFilter.EventAnalyticsReportRequest.GroupByHolder
getGroupBy()
Returns the groupBy.Tuple2<IAggregation,java.util.function.Function<Object,String>>
getInterval()
Returns the interval.Map<String,Tuple2<IAggregation,Boolean>>
getMetrics()
Returns the metrics.ServiceInstanceConfig
getServiceInstanceConfig()
Returns the serviceInstanceConfig.protected static String
getServiceInstanceFromRequest(org.json.JSONObject request)
Returns the service instance id from the request.Tuple3<Date,Date,ISearchQueryFilter>
getTimeFrame()
Returns the timeFrame.UserSegmentationData
getUserSegmentation()
Returns the userSegmentation.boolean
isStandard()
Returns whether this is a standard report.
-
-
-
Constructor Detail
-
EventAnalyticsReportRequest
public EventAnalyticsReportRequest(org.json.JSONObject request) throws PortalException
Constructor.- Parameters:
request
- the request object.- Throws:
PortalException
- Since:
- 11.0.0
-
-
Method Detail
-
getServiceInstanceFromRequest
protected static final String getServiceInstanceFromRequest(org.json.JSONObject request)
Returns the service instance id from the request.- Parameters:
request
- the request json.- Returns:
- the service instance id from the request.
- Since:
- 14.0.0
-
getMetrics
public Map<String,Tuple2<IAggregation,Boolean>> getMetrics()
Returns the metrics.- Specified by:
getMetrics
in interfaceIEventAnalyticsReportRequest
- Returns:
- the metrics
- Since:
- 11.0.0
-
getGroupBy
public EventAnalyticsReportRequest.GroupByHolder getGroupBy()
Returns the groupBy.- Specified by:
getGroupBy
in interfaceIEventAnalyticsReportRequest
- Returns:
- the groupBy
- Since:
- 11.0.0
-
getEventFilter
public EventFilterData getEventFilter()
Returns the eventFilter.- Specified by:
getEventFilter
in interfaceIEventAnalyticsReportRequest
- Returns:
- the eventFilter
- Since:
- 11.0.0
-
getInterval
public Tuple2<IAggregation,java.util.function.Function<Object,String>> getInterval()
Returns the interval.- Specified by:
getInterval
in interfaceIEventAnalyticsReportRequest
- Returns:
- the interval
- Since:
- 11.0.0
-
getServiceInstanceConfig
public ServiceInstanceConfig getServiceInstanceConfig()
Description copied from interface:IEventAnalyticsReportRequest
Returns the serviceInstanceConfig.- Specified by:
getServiceInstanceConfig
in interfaceIEventAnalyticsReportRequest
- Returns:
- the serviceInstanceConfig
-
getUserSegmentation
public UserSegmentationData getUserSegmentation()
Description copied from interface:IEventAnalyticsReportRequest
Returns the userSegmentation.- Specified by:
getUserSegmentation
in interfaceIEventAnalyticsReportRequest
- Returns:
- the userSegmentation
-
getTimeFrame
public Tuple3<Date,Date,ISearchQueryFilter> getTimeFrame()
Description copied from interface:IEventAnalyticsReportRequest
Returns the timeFrame.- Specified by:
getTimeFrame
in interfaceIEventAnalyticsReportRequest
- Returns:
- the timeFrame
-
isStandard
public boolean isStandard()
Description copied from interface:IEventAnalyticsReportRequest
Returns whether this is a standard report.- Specified by:
isStandard
in interfaceIEventAnalyticsReportRequest
- Returns:
- whether this is a standard report.
-
getCompareWithType
public String getCompareWithType()
Returns the compareWithType.- Returns:
- the compareWithType
- Since:
- 12.1.0
-
getCompareWithAmount
public Integer getCompareWithAmount()
Returns the compareWithAmount.- Returns:
- the compareWithAmount
- Since:
- 12.1.0
-
-