MCPcopy Create free account
hub / github.com/apache/arrow / ClientStreamWriter

Method ClientStreamWriter

cpp/src/arrow/flight/client.cc:402–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400class ClientStreamWriter : public FlightStreamWriter {
401 public:
402 explicit ClientStreamWriter(std::shared_ptr<internal::ClientDataStream> stream,
403 const ipc::IpcWriteOptions& options,
404 int64_t write_size_limit_bytes, FlightDescriptor descriptor)
405 : stream_(std::move(stream)),
406 batch_writer_(nullptr),
407 app_metadata_(nullptr),
408 writer_closed_(false),
409 closed_(false),
410 write_options_(options),
411 write_size_limit_bytes_(write_size_limit_bytes),
412 descriptor_(std::move(descriptor)) {}
413
414 ~ClientStreamWriter() {
415 if (closed_) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected