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

Method SerializeMetadata

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

Source from the content-addressed store, hash-verified

748 is_delta_(is_delta) {}
749
750 Status SerializeMetadata(int64_t num_rows) override {
751 ARROW_ASSIGN_OR_RAISE(
752 out_->metadata,
753 WriteDictionaryMessage(dictionary_id_, is_delta_, num_rows, out_->body_length,
754 custom_metadata_, field_nodes_, buffer_meta_,
755 variadic_counts_, options_));
756 return Status::OK();
757 }
758
759 Status Assemble(const std::shared_ptr<Array>& dictionary) {
760 // Make a dummy record batch. A bit tedious as we have to make a schema

Callers

nothing calls this directly

Calls 3

WriteDictionaryMessageFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected