public Optional<ClickHouseWriter> getWriter() {
        return Optional.ofNullable(this.writer);
    }
Gets custom writer for writing raw request.

@return custom writer
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java