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

Method SerializeMetadata

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

Source from the content-addressed store, hash-verified

760 is_delta_(is_delta) {}
761
762 Status SerializeMetadata(int64_t num_rows) override {
763 ARROW_ASSIGN_OR_RAISE(
764 out_->metadata,
765 WriteDictionaryMessage(dictionary_id_, is_delta_, num_rows, out_->body_length,
766 custom_metadata_, field_nodes_, buffer_meta_,
767 variadic_counts_, options_));
768 return Status::OK();
769 }
770
771 Status Assemble(const std::shared_ptr<Array>& dictionary) {
772 // 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