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

Method WritePayload

cpp/src/arrow/ipc/writer.cc:1454–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452 ~PayloadStreamWriter() override = default;
1453
1454 Status WritePayload(const IpcPayload& payload) override {
1455#ifndef NDEBUG
1456 // Catch bug fixed in ARROW-3236
1457 RETURN_NOT_OK(UpdatePositionCheckAligned());
1458#endif
1459
1460 int32_t metadata_length = 0; // unused
1461 RETURN_NOT_OK(WriteIpcPayload(payload, options_, sink_, &metadata_length));
1462 RETURN_NOT_OK(UpdatePositionCheckAligned());
1463 return Status::OK();
1464 }
1465
1466 Status Close() override { return WriteEOS(); }
1467};

Callers

nothing calls this directly

Calls 2

WriteIpcPayloadFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected