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

Method SerializeMetadata

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

Override this for writing dictionary metadata

Source from the content-addressed store, hash-verified

192
193 // Override this for writing dictionary metadata
194 virtual Status SerializeMetadata(int64_t num_rows) {
195 ARROW_ASSIGN_OR_RAISE(
196 out_->metadata,
197 WriteRecordBatchMessage(num_rows, out_->body_length, custom_metadata_,
198 field_nodes_, buffer_meta_, variadic_counts_, options_));
199 return Status::OK();
200 }
201
202 bool ShouldCompress(int64_t uncompressed_size, int64_t compressed_size) const {
203 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