Class VariableAggregationServiceOS
java.lang.Object
io.camunda.optimize.service.db.os.report.service.VariableAggregationServiceOS
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.OpenSearchCondition.class)
public class VariableAggregationServiceOS
extends Object
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableAggregationServiceOS(ConfigurationService configurationService, NumberVariableAggregationServiceOS numberVariableAggregationService, DateAggregationServiceOS dateAggregationService, MinMaxStatsServiceOS minMaxStatsService) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.opensearch.client.opensearch._types.query_dsl.Query> Optional<org.apache.commons.lang3.tuple.Pair<String, org.opensearch.client.opensearch._types.aggregations.Aggregation>> getVariableMinMaxStats(VariableType variableType, String variableName, String variablePath, String nestedVariableNameField, String nestedVariableValueFieldLabel, String[] indexNames, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery) resultBucketMap(org.opensearch.client.opensearch._types.aggregations.Aggregate aggregate) retrieveResultBucketMap(org.opensearch.client.opensearch._types.aggregations.FilterAggregate filteredParentAgg, Map<String, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate>> bucketMap, VariableType variableType, ZoneId timezone) retrieveSubAggregationFromBucketMapEntry(Map.Entry<String, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate>> bucketMapEntry)
-
Field Details
-
NESTED_VARIABLE_AGGREGATION
- See Also:
-
NESTED_FLOWNODE_AGGREGATION
- See Also:
-
VARIABLES_AGGREGATION
- See Also:
-
FILTERED_VARIABLES_AGGREGATION
- See Also:
-
FILTERED_INSTANCE_COUNT_AGGREGATION
- See Also:
-
VARIABLES_INSTANCE_COUNT_AGGREGATION
- See Also:
-
MISSING_VARIABLES_AGGREGATION
- See Also:
-
VARIABLE_HISTOGRAM_AGGREGATION
- See Also:
-
-
Constructor Details
-
VariableAggregationServiceOS
public VariableAggregationServiceOS(ConfigurationService configurationService, NumberVariableAggregationServiceOS numberVariableAggregationService, DateAggregationServiceOS dateAggregationService, MinMaxStatsServiceOS minMaxStatsService)
-
-
Method Details
-
createVariableSubAggregation
public Optional<org.apache.commons.lang3.tuple.Pair<String,org.opensearch.client.opensearch._types.aggregations.Aggregation>> createVariableSubAggregation(VariableAggregationContextOS context) -
createVariableFilterQuery
public Optional<org.opensearch.client.opensearch._types.query_dsl.Query> createVariableFilterQuery(VariableAggregationContextOS context) -
retrieveResultBucketMap
public Map<String,Map<String, retrieveResultBucketMaporg.opensearch.client.opensearch._types.aggregations.Aggregate>> (org.opensearch.client.opensearch._types.aggregations.FilterAggregate filteredParentAgg, Map<String, Map<String, org.opensearch.client.opensearch._types.aggregations.Aggregate>> bucketMap, VariableType variableType, ZoneId timezone) -
resultBucketMap
-
retrieveSubAggregationFromBucketMapEntry
-
getVariableMinMaxStats
public MinMaxStatDto getVariableMinMaxStats(VariableType variableType, String variableName, String variablePath, String nestedVariableNameField, String nestedVariableValueFieldLabel, String[] indexNames, org.opensearch.client.opensearch._types.query_dsl.Query baseQuery)
-