presto-main/src/main/java/io/prestosql/operator/aggregation/state/MinMaxNStateFactory.java/MinMaxNStateFactory/createSingleState
class MinMaxNStateFactory:    @Override
    public MinMaxNState createSingleState()
    {
        return new SingleMinMaxNState();
    }