public Serializable getOption(ClickHouseOption option, ClickHouseDefaults defaultValue) {
        return this.options.getOrDefault(ClickHouseChecker.nonNull(option, PARAM_OPTION),
                defaultValue == null ? option.getEffectiveDefaultValue() : defaultValue.getEffectiveDefaultValue());
    }
Gets option value.

@param option       non-null option to lookup
@param defaultValue optional default value
@return option value
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseConfig.java