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

Function Schema__serialize

r/src/schema.cpp:153–157  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

151
152// [[arrow::export]]
153cpp11::writable::raws Schema__serialize(const std::shared_ptr<arrow::Schema>& schema) {
154 auto out = ValueOrStop(arrow::ipc::SerializeSchema(*schema));
155 auto n = out->size();
156 return cpp11::writable::raws(out->data(), out->data() + n);
157}
158
159// [[arrow::export]]
160bool Schema__Equals(const std::shared_ptr<arrow::Schema>& schema,

Callers 1

_arrow_Schema__serializeFunction · 0.85

Calls 4

ValueOrStopFunction · 0.85
SerializeSchemaFunction · 0.50
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected