Class AbstractReportRunner

    • Constructor Detail

      • AbstractReportRunner

        public AbstractReportRunner​(TemplateLoader templateLoader)
    • Method Detail

      • mapAggregateToCalendarInterval

        protected String mapAggregateToCalendarInterval​(ReportRequest request)
      • getTemplate

        protected freemarker.template.Template getTemplate​(String templateName)
      • convertBucketToDataPoint

        protected ReportDataPoint convertBucketToDataPoint​(com.fasterxml.jackson.databind.JsonNode bucket,
                                                           Collection<String> groupBy)
      • getGroupByFromBucket

        protected Map<String,​String> getGroupByFromBucket​(com.fasterxml.jackson.databind.JsonNode aggregatesBucket,
                                                                Collection<String> groupBys)
      • collectBuckets

        protected Map<String,​com.fasterxml.jackson.databind.JsonNode> collectBuckets​(com.fasterxml.jackson.databind.JsonNode bucketNode,
                                                                                           String groupBy)
      • collectBuckets

        protected Map<String,​com.fasterxml.jackson.databind.JsonNode> collectBuckets​(Map<String,​com.fasterxml.jackson.databind.JsonNode> bucketsByKey,
                                                                                           String groupBy)
      • collectBuckets

        protected Map<String,​com.fasterxml.jackson.databind.JsonNode> collectBuckets​(com.fasterxml.jackson.databind.JsonNode bucketNode,
                                                                                           Collection<String> groupBys)
      • processJsonWithBucketAggregations

        protected ReportResult processJsonWithBucketAggregations​(com.fasterxml.jackson.databind.JsonNode reportResult,
                                                                 ReportConfiguration reportConfiguration)