Class AbstractProcessGroupByModelElementDateInterpreterES
java.lang.Object
io.camunda.optimize.service.db.es.report.interpreter.groupby.AbstractGroupByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan>
io.camunda.optimize.service.db.es.report.interpreter.groupby.process.AbstractProcessGroupByInterpreterES
io.camunda.optimize.service.db.es.report.interpreter.groupby.process.date.AbstractProcessGroupByModelElementDateInterpreterES
- All Implemented Interfaces:
GroupByInterpreterES<ProcessReportDataDto,,ProcessExecutionPlan> ProcessGroupByInterpreterES
- Direct Known Subclasses:
AbstractProcessGroupByFlowNodeDateInterpreterES,AbstractProcessGroupByUserTaskDateInterpreterES
public abstract class AbstractProcessGroupByModelElementDateInterpreterES
extends AbstractProcessGroupByInterpreterES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddQueryResult(CompositeCommandResult result, co.elastic.clients.elasticsearch.core.search.ResponseBody<?> response, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation.Builder.ContainerBuilder> createAggregation(co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery boolQuery, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) protected abstract DateAggregationServiceESprotected abstract Stringprotected abstract co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery.BuildergetMinMaxStats(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, co.elastic.clients.elasticsearch._types.query_dsl.Query baseQuery) This method returns the min and maximum values for range value types (e.g. number or date).protected abstract MinMaxStatsServiceESprotected abstract co.elastic.clients.elasticsearch._types.query_dsl.Queryprotected abstract StringMethods inherited from class io.camunda.optimize.service.db.es.report.interpreter.groupby.process.AbstractProcessGroupByInterpreterES
getIndexNamesMethods inherited from class io.camunda.optimize.service.db.es.report.interpreter.groupby.AbstractGroupByInterpreterES
adjustSearchRequest, getDistributedByInterpreter, getViewInterpreter, retrieveQueryResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.optimize.service.db.es.report.interpreter.groupby.GroupByInterpreterES
adjustSearchRequest, retrieveQueryResultMethods inherited from interface io.camunda.optimize.service.db.es.report.interpreter.groupby.process.ProcessGroupByInterpreterES
getSupportedGroupBys
-
Constructor Details
-
AbstractProcessGroupByModelElementDateInterpreterES
public AbstractProcessGroupByModelElementDateInterpreterES()
-
-
Method Details
-
getDateAggregationService
-
getMinMaxStatsService
-
getMinMaxStats
public Optional<MinMaxStatDto> getMinMaxStats(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, co.elastic.clients.elasticsearch._types.query_dsl.Query baseQuery) Description copied from class:AbstractGroupByInterpreterESThis method returns the min and maximum values for range value types (e.g. number or date). It defaults to an empty result and needs to get overridden when applicable.- Specified by:
getMinMaxStatsin interfaceProcessGroupByInterpreterES- Overrides:
getMinMaxStatsin classAbstractGroupByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan> - Parameters:
context- command execution context to perform the min max retrieval withbaseQuery- filtering query on which data to perform the min max retrieval- Returns:
- min and max value range for the value grouped on by
-
getPathToElementField
-
createAggregation
public Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation.Builder.ContainerBuilder> createAggregation(co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery boolQuery, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
createAggregationin interfaceGroupByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan> - Specified by:
createAggregationin classAbstractGroupByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan>
-
addQueryResult
public void addQueryResult(CompositeCommandResult result, co.elastic.clients.elasticsearch.core.search.ResponseBody<?> response, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
addQueryResultin classAbstractGroupByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan>
-
getDateField
-
getFilterBoolQueryBuilder
protected abstract co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery.Builder getFilterBoolQueryBuilder(ExecutionContext<ProcessReportDataDto, ?> context) -
getModelElementTypeFilterQuery
protected abstract co.elastic.clients.elasticsearch._types.query_dsl.Query getModelElementTypeFilterQuery()
-