default ClickHouseValue update(Reader value) {
        if (value == null) {
            resetToNullOrEmpty();
        } else {
            StringBuilder builder = new StringBuilder();
            try (BufferedReader reader = new BufferedReader(value)) {
                int bufferSize = 1024;
                char[] buffer = new char[bufferSize];
                for (int num; (num = reader.read(buffer, 0, buffer.length)) > 0;) {
                    builder.append(buffer, 0, num);
                }
            } catch (IOException e) {
                throw new IllegalArgumentException("Failed to read", e);
            }
            update(builder.toString());
        }

        return this;
    }
Updates value.

@param value value to update
@return this object
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseValue.java