public <T extends Serializable> T getSetting(String setting, Class<T> valueType) {
        Serializable value = settings.get(ClickHouseChecker.nonBlank(setting, PARAM_SETTING));
        return ClickHouseOption.fromString(value == null ? "" : value.toString(), valueType);
    }
Gets typed setting value.

@param <T>       type of the setting value
@param setting   non-null setting key
@param valueType non-null value type
@return non-null value
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java