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

Function GetSchemaPayload

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

Source from the content-addressed store, hash-verified

819}
820
821Status GetSchemaPayload(const Schema& schema, const IpcWriteOptions& options,
822 const DictionaryFieldMapper& mapper, IpcPayload* out) {
823 out->type = MessageType::SCHEMA;
824 ARROW_ASSIGN_OR_RAISE(out->metadata,
825 internal::WriteSchemaMessage(schema, mapper, options));
826 return Status::OK();
827}
828
829Status GetDictionaryPayload(int64_t id, const std::shared_ptr<Array>& dictionary,
830 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