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

Method WriteMetadata

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

Source from the content-addressed store, hash-verified

462 }
463
464 Status WriteMetadata(std::shared_ptr<Buffer> app_metadata) override {
465 FlightPayload payload;
466 payload.app_metadata = app_metadata;
467 ARROW_ASSIGN_OR_RAISE(auto success, stream_->WriteData(payload));
468 if (!success) {
469 return Close();
470 }
471 return Status::OK();
472 }
473
474 Status WriteWithMetadata(const RecordBatch& batch,
475 std::shared_ptr<Buffer> app_metadata) override {

Callers 15

DoPutMethod · 0.45
TestDoExchangeEchoMethod · 0.45
DoPutMethod · 0.45
CheckDoPutMethod · 0.45
TestSizeLimitMethod · 0.45
DoPutMethod · 0.45
DoPutMethod · 0.45
DoExchangeMethod · 0.45
TestDoExchangeMethod · 0.45
RunExchangePutMethod · 0.45
RunExchangeCounterMethod · 0.45

Calls 2

CloseFunction · 0.50
OKFunction · 0.50

Tested by 14

TestDoExchangeEchoMethod · 0.36
DoPutMethod · 0.36
CheckDoPutMethod · 0.36
TestSizeLimitMethod · 0.36
DoPutMethod · 0.36
DoPutMethod · 0.36
DoExchangeMethod · 0.36
TestDoExchangeMethod · 0.36
RunExchangePutMethod · 0.36
RunExchangeCounterMethod · 0.36
RunExchangeEchoMethod · 0.36