public Optional<ClickHouseOutputStream> getOutputStream() {
        return output != null ? output.getOptional() : Optional.empty();
    }
Gets output stream.

@return output stream
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java