Class ProcessDistributedByVariableInterpreterOS
java.lang.Object
io.camunda.optimize.service.db.os.report.interpreter.distributedby.AbstractDistributedByInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
io.camunda.optimize.service.db.os.report.interpreter.distributedby.process.AbstractProcessDistributedByInterpreterOS
io.camunda.optimize.service.db.os.report.interpreter.distributedby.process.ProcessDistributedByVariableInterpreterOS
- All Implemented Interfaces:
DistributedByInterpreterOS<ProcessReportDataDto,,ProcessExecutionPlan> ProcessDistributedByInterpreterOS,DistributedByInterpreter<ProcessReportDataDto,ProcessExecutionPlan>
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.OpenSearchCondition.class)
public class ProcessDistributedByVariableInterpreterOS
extends AbstractProcessDistributedByInterpreterOS
-
Constructor Summary
ConstructorsConstructorDescriptionProcessDistributedByVariableInterpreterOS(ProcessViewInterpreterFacadeOS viewInterpreter, DateAggregationServiceOS dateAggregationService, VariableAggregationServiceOS variableAggregationService) -
Method Summary
Modifier and TypeMethodDescriptioncreateAggregations(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery) voidenrichContextWithAllExpectedDistributedByKeys(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate> aggregations) booleanretrieveResult(org.opensearch.client.opensearch.core.SearchResponse<RawResult> response, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate> aggregations, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) Methods inherited from class io.camunda.optimize.service.db.os.report.interpreter.distributedby.process.AbstractProcessDistributedByInterpreterOS
createEmptyResultMethods inherited from class io.camunda.optimize.service.db.os.report.interpreter.distributedby.AbstractDistributedByInterpreterOS
adjustQuery, 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.os.report.interpreter.distributedby.DistributedByInterpreterOS
adjustQuery, adjustSearchRequest
-
Constructor Details
-
ProcessDistributedByVariableInterpreterOS
public ProcessDistributedByVariableInterpreterOS(ProcessViewInterpreterFacadeOS viewInterpreter, DateAggregationServiceOS dateAggregationService, VariableAggregationServiceOS variableAggregationService)
-
-
Method Details
-
getSupportedDistributedBys
-
isKeyOfNumericType
public boolean isKeyOfNumericType(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) -
createAggregations
public Map<String,org.opensearch.client.opensearch._types.aggregations.Aggregation> createAggregations(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery) -
retrieveResult
public List<CompositeCommandResult.DistributedByResult> retrieveResult(org.opensearch.client.opensearch.core.SearchResponse<RawResult> response, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate> aggregations, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) -
enrichContextWithAllExpectedDistributedByKeys
public void enrichContextWithAllExpectedDistributedByKeys(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate> aggregations) -
getViewInterpreter
- Specified by:
getViewInterpreterin classAbstractDistributedByInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
-