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

Function SchemaToString

cpp/src/arrow/flight/serialization_internal.cc:350–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350Status SchemaToString(const Schema& schema, std::string* out) {
351 ipc::DictionaryMemo unused_dict_memo;
352 ARROW_ASSIGN_OR_RAISE(std::shared_ptr<Buffer> serialized_schema,
353 ipc::SerializeSchema(schema));
354 *out = std::string(reinterpret_cast<const char*>(serialized_schema->data()),
355 static_cast<size_t>(serialized_schema->size()));
356 return Status::OK();
357}
358
359Status ToProto(const FlightInfo& info, pb::FlightInfo* pb_info) {
360 // clear any repeated fields

Callers 2

MakeMethod · 0.85
GetFlightInfoMethod · 0.85

Calls 5

ARROW_ASSIGN_OR_RAISEFunction · 0.70
SerializeSchemaFunction · 0.50
OKFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

GetFlightInfoMethod · 0.68