Class ProcessDistributedByVariableInterpreterES
java.lang.Object
io.camunda.optimize.service.db.es.report.interpreter.distributedby.AbstractDistributedByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan>
io.camunda.optimize.service.db.es.report.interpreter.distributedby.process.AbstractProcessDistributedByInterpreterES
io.camunda.optimize.service.db.es.report.interpreter.distributedby.process.ProcessDistributedByVariableInterpreterES
- All Implemented Interfaces:
DistributedByInterpreterES<ProcessReportDataDto,,ProcessExecutionPlan> ProcessDistributedByInterpreterES,DistributedByInterpreter<ProcessReportDataDto,ProcessExecutionPlan>
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.ElasticSearchCondition.class)
public class ProcessDistributedByVariableInterpreterES
extends AbstractProcessDistributedByInterpreterES
-
Constructor Summary
ConstructorsConstructorDescriptionProcessDistributedByVariableInterpreterES(ProcessViewInterpreterFacadeES viewInterpreter, DateAggregationServiceES dateAggregationService, VariableAggregationServiceES variableAggregationService) -
Method Summary
Modifier and TypeMethodDescriptionMap<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation.Builder.ContainerBuilder> createAggregations(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery baseQueryBuilder) voidenrichContextWithAllExpectedDistributedByKeys(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregations) booleanretrieveResult(co.elastic.clients.elasticsearch.core.search.ResponseBody<?> response, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregations, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) Methods inherited from class io.camunda.optimize.service.db.es.report.interpreter.distributedby.process.AbstractProcessDistributedByInterpreterES
createEmptyResultMethods inherited from class io.camunda.optimize.service.db.es.report.interpreter.distributedby.AbstractDistributedByInterpreterES
adjustSearchRequestMethods 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.distributedby.DistributedByInterpreterES
adjustSearchRequest
-
Constructor Details
-
ProcessDistributedByVariableInterpreterES
public ProcessDistributedByVariableInterpreterES(ProcessViewInterpreterFacadeES viewInterpreter, DateAggregationServiceES dateAggregationService, VariableAggregationServiceES variableAggregationService)
-
-
Method Details
-
getSupportedDistributedBys
-
isKeyOfNumericType
public boolean isKeyOfNumericType(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) -
createAggregations
public Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation.Builder.ContainerBuilder> createAggregations(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery baseQueryBuilder) -
retrieveResult
public List<CompositeCommandResult.DistributedByResult> retrieveResult(co.elastic.clients.elasticsearch.core.search.ResponseBody<?> response, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregations, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) -
enrichContextWithAllExpectedDistributedByKeys
public void enrichContextWithAllExpectedDistributedByKeys(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregate> aggregations) -
getViewInterpreter
- Specified by:
getViewInterpreterin classAbstractDistributedByInterpreterES<ProcessReportDataDto,ProcessExecutionPlan>
-