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

Function GetSchemaPayload

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

Source from the content-addressed store, hash-verified

807}
808
809Status GetSchemaPayload(const Schema& schema, const IpcWriteOptions& options,
810 const DictionaryFieldMapper& mapper, IpcPayload* out) {
811 out->type = MessageType::SCHEMA;
812 ARROW_ASSIGN_OR_RAISE(out->metadata,
813 internal::WriteSchemaMessage(schema, mapper, options));
814 return Status::OK();
815}
816
817Status GetDictionaryPayload(int64_t id, const std::shared_ptr<Array>& dictionary,
818 const IpcWriteOptions& options, IpcPayload* out) {

Callers 5

GetSchemaPayloadMethod · 0.85
GetSchemaPayloadMethod · 0.85
GetSchemaPayloadMethod · 0.85
StartMethod · 0.85
StartFunction · 0.85

Calls 3

WriteSchemaMessageFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50

Tested by 2

GetSchemaPayloadMethod · 0.68
StartMethod · 0.68