public Mutation data(ClickHouseWriter writer) {
            checkSealed();

            this.writer = changeProperty(PROP_WRITER, this.writer,
                    ClickHouseChecker.nonNull(writer, ClickHouseWriter.TYPE_NAME));
            this.input = changeProperty(PROP_DATA, this.input,
                    ClickHouseDeferredValue.of(() -> ClickHouseInputStream.of(getConfig(), writer)));

            return this;
        }
Sets custom writer for writing uncompressed data, use
{@link #data(ClickHousePassThruStream)} when the data is compressed. This
will remove input stream set by other {@code data(...)} methods.

@param writer writer
@return mutation request
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java