public class TopReferralsReportPostProcessor extends AbstractResponseAggregationsPostProcessor
IReportPostProcessor
to get top page view followups.Constructor and Description |
---|
TopReferralsReportPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
init(org.json.JSONObject configuration,
Set<String> extraQueries,
org.elasticsearch.client.RestClient client)
When the report processor is provided, this method will be called in the provider with the given configuration JSON object,
the queries used to filter the report response and the
RestClient used to execute queries on Elasticsearch. |
org.json.JSONObject |
process(org.json.JSONObject responseJSON,
Source<? extends ISourceField> source)
Process the given response JSON.
|
getAggregationObject, getAggregationsObject
getSessionConfig, getTransaction
public void init(org.json.JSONObject configuration, Set<String> extraQueries, org.elasticsearch.client.RestClient client) throws org.json.JSONException, PortalException
IReportPostProcessor
RestClient
used to execute queries on Elasticsearch.configuration
- the configuration used to process the report response.extraQueries
- the queries used to filter the report response.client
- the RestClient
used to execute queries on Elasticsearch.org.json.JSONException
PortalException
public org.json.JSONObject process(org.json.JSONObject responseJSON, Source<? extends ISourceField> source) throws org.json.JSONException, PortalException
IReportPostProcessor
responseJSON
- the response JSON.source
- the source.org.json.JSONException
PortalException
Lumisportal 10.4.0.180427 - Copyright © 2006–2018 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.