presto-main/src/main/java/io/prestosql/execution/warnings/WarningCollectorConfig.java/WarningCollectorConfig/getMaxWarnings
class WarningCollectorConfig:    public int getMaxWarnings()
    {
        return maxWarnings;
    }