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