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

Function PackProtoCommand

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

Source from the content-addressed store, hash-verified

73} // namespace
74
75Status PackProtoCommand(const google::protobuf::Message& command, FlightDescriptor* out) {
76 std::string buf;
77 RETURN_NOT_OK(PackToAnyAndSerialize(command, &buf));
78 *out = FlightDescriptor::Command(std::move(buf));
79 return Status::OK();
80}
81
82Status PackProtoAction(std::string action_type, const google::protobuf::Message& action,
83 Action* out) {

Callers 1

Calls 3

PackToAnyAndSerializeFunction · 0.85
CommandFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected