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

Method SerializeMetadata

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

Override this for writing dictionary metadata

Source from the content-addressed store, hash-verified

180
181 // Override this for writing dictionary metadata
182 virtual Status SerializeMetadata(int64_t num_rows) {
183 ARROW_ASSIGN_OR_RAISE(
184 out_->metadata,
185 WriteRecordBatchMessage(num_rows, out_->body_length, custom_metadata_,
186 field_nodes_, buffer_meta_, variadic_counts_, options_));
187 return Status::OK();
188 }
189
190 bool ShouldCompress(int64_t uncompressed_size, int64_t compressed_size) const {
191 DCHECK_GT(uncompressed_size, 0);

Callers

nothing calls this directly

Calls 3

WriteRecordBatchMessageFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected