Class ProcessViewRawDataInterpreterOS
java.lang.Object
io.camunda.optimize.service.db.report.interpreter.view.process.AbstractProcessViewRawDataInterpreter
io.camunda.optimize.service.db.os.report.interpreter.view.process.ProcessViewRawDataInterpreterOS
- All Implemented Interfaces:
ProcessViewInterpreterOS,ViewInterpreterOS<ProcessReportDataDto,,ProcessExecutionPlan> ViewInterpreter<ProcessReportDataDto,ProcessExecutionPlan>
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.OpenSearchCondition.class)
public class ProcessViewRawDataInterpreterOS
extends AbstractProcessViewRawDataInterpreter
implements ProcessViewInterpreterOS
-
Field Summary
Fields inherited from class io.camunda.optimize.service.db.report.interpreter.view.process.AbstractProcessViewRawDataInterpreter
CURRENT_TIME, DATE_FORMAT, FLOW_NODE_IDS_TO_DURATIONS, GET_FLOW_NODE_DURATIONS_SCRIPT, NUMBER_OF_USER_TASKS, NUMBER_OF_USER_TASKS_SCRIPT, PARAMS_CURRENT_TIME, SORT_SCRIPT -
Constructor Summary
ConstructorsConstructorDescriptionProcessViewRawDataInterpreterOS(ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, OptimizeOpenSearchClient osClient, DefinitionService definitionService, VariableRepositoryOS variableRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustSearchRequest(org.opensearch.client.opensearch.core.SearchRequest.Builder searchRequestBuilder, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) retrieveResult(org.opensearch.client.opensearch.core.SearchResponse<RawResult> response, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate> aggs, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) Methods inherited from class io.camunda.optimize.service.db.report.interpreter.view.process.AbstractProcessViewRawDataInterpreter
addNewVariablesAndDtoFieldsToTableColumnConfig, createEmptyResult, defKeysToTarget, getSupportedViews, sortByFieldMethods 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.view.process.ProcessViewInterpreterOS
getSupportedViews, getViewPropertyMethods inherited from interface io.camunda.optimize.service.db.report.interpreter.view.ViewInterpreter
createEmptyResultMethods inherited from interface io.camunda.optimize.service.db.os.report.interpreter.view.ViewInterpreterOS
adjustQuery
-
Constructor Details
-
ProcessViewRawDataInterpreterOS
public ProcessViewRawDataInterpreterOS(ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, OptimizeOpenSearchClient osClient, DefinitionService definitionService, VariableRepositoryOS variableRepository)
-
-
Method Details
-
adjustSearchRequest
public void adjustSearchRequest(org.opensearch.client.opensearch.core.SearchRequest.Builder searchRequestBuilder, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
adjustSearchRequestin interfaceViewInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
-
createAggregations
public Map<String,org.opensearch.client.opensearch._types.aggregations.Aggregation> createAggregations(ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
createAggregationsin interfaceViewInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
-
retrieveResult
public CompositeCommandResult.ViewResult retrieveResult(org.opensearch.client.opensearch.core.SearchResponse<RawResult> response, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate> aggs, ExecutionContext<ProcessReportDataDto, ProcessExecutionPlan> context) - Specified by:
retrieveResultin interfaceViewInterpreterOS<ProcessReportDataDto,ProcessExecutionPlan>
-