Class AbstractProcessGroupByModelElementDateInterpreterOS
java.lang.Object
io.camunda.optimize.service.db.os.report.interpreter.groupby.AbstractGroupByInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
io.camunda.optimize.service.db.os.report.interpreter.groupby.process.AbstractProcessGroupByInterpreterOS
io.camunda.optimize.service.db.os.report.interpreter.groupby.process.date.AbstractProcessGroupByModelElementDateInterpreterOS
- All Implemented Interfaces:
GroupByInterpreterOS<ProcessReportDataDto,,ProcessExecutionPlan> ProcessGroupByInterpreterOS
- Direct Known Subclasses:
AbstractProcessGroupByFlowNodeDateInterpreterOS,AbstractProcessGroupByUserTaskDateInterpreterOS
public abstract class AbstractProcessGroupByModelElementDateInterpreterOS
extends AbstractProcessGroupByInterpreterOS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddQueryResult(CompositeCommandResult result, org.opensearch.client.opensearch.core.SearchResponse<RawResult> response, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) createAggregation(org.opensearch.client.opensearch._types.query_dsl.Query query, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) protected abstract DateAggregationServiceOSprotected abstract Stringprotected abstract org.opensearch.client.opensearch._types.query_dsl.QuerygetFilterBoolQuery(ExecutionContext<ProcessReportDataDto, ?> context) getMinMaxStats(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery) This method returns the min and maximum values for range value types (e.g. number or date).protected abstract MinMaxStatsServiceOSprotected abstract org.opensearch.client.opensearch._types.query_dsl.Queryprotected abstract StringMethods inherited from class io.camunda.optimize.service.db.os.report.interpreter.groupby.process.AbstractProcessGroupByInterpreterOS
getIndexNamesMethods inherited from class io.camunda.optimize.service.db.os.report.interpreter.groupby.AbstractGroupByInterpreterOS
adjustQuery, 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.os.report.interpreter.groupby.GroupByInterpreterOS
adjustQuery, adjustSearchRequest, retrieveQueryResultMethods inherited from interface io.camunda.optimize.service.db.os.report.interpreter.groupby.process.ProcessGroupByInterpreterOS
getSupportedGroupBys
-
Constructor Details
-
AbstractProcessGroupByModelElementDateInterpreterOS
public AbstractProcessGroupByModelElementDateInterpreterOS()
-
-
Method Details
-
getDateAggregationService
-
getMinMaxStatsService
-
getPathToElementField
-
createAggregation
public Map<String,org.opensearch.client.opensearch._types.aggregations.Aggregation> createAggregation(org.opensearch.client.opensearch._types.query_dsl.Query query, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
createAggregationin interfaceGroupByInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan> - Specified by:
createAggregationin classAbstractGroupByInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
-
getMinMaxStats
public Optional<MinMaxStatDto> getMinMaxStats(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery) Description copied from class:AbstractGroupByInterpreterOSThis 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 interfaceProcessGroupByInterpreterOS- Overrides:
getMinMaxStatsin classAbstractGroupByInterpreterOS<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
-
addQueryResult
public void addQueryResult(CompositeCommandResult result, org.opensearch.client.opensearch.core.SearchResponse<RawResult> response, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
addQueryResultin classAbstractGroupByInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
-
getDateField
-
getFilterBoolQuery
protected abstract org.opensearch.client.opensearch._types.query_dsl.Query getFilterBoolQuery(ExecutionContext<ProcessReportDataDto, ?> context) -
getModelElementTypeFilterQuery
protected abstract org.opensearch.client.opensearch._types.query_dsl.Query getModelElementTypeFilterQuery()
-