presto-main/src/main/java/io/prestosql/operator/aggregation/state/MinMaxNStateFactory.java/MinMaxNStateFactory/getGroupedStateClass
class MinMaxNStateFactory:    @Override
    public Class<? extends MinMaxNState> getGroupedStateClass()
    {
        return GroupedMinMaxNState.class;
    }