presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/AddExchangesBelowPartialAggregationOverGroupIdRuleSet.java/AddExchangesBelowPartialAggregationOverGroupIdRuleSet/AddExchangesBelowPartialAggregationOverGroupIdRuleSet
class AddExchangesBelowPartialAggregationOverGroupIdRuleSet:    public AddExchangesBelowPartialAggregationOverGroupIdRuleSet(
            Metadata metadata,
            TypeAnalyzer typeAnalyzer,
            TaskCountEstimator taskCountEstimator,
            TaskManagerConfig taskManagerConfig)
    {
        this.metadata = requireNonNull(metadata, "metadata is null");
        this.typeAnalyzer = requireNonNull(typeAnalyzer, "typeAnalyzer is null");
        this.taskCountEstimator = requireNonNull(taskCountEstimator, "taskCountEstimator is null");
        this.maxPartialAggregationMemoryUsage = requireNonNull(taskManagerConfig, "taskManagerConfig is null").getMaxPartialAggregationMemoryUsage();
    }