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

Function DoProtoAction

cpp/src/arrow/flight/sql/client.cc:68–75  ·  view source on GitHub ↗

Pack a protobuf action and send it to the server.

Source from the content-addressed store, hash-verified

66
67// Pack a protobuf action and send it to the server.
68arrow::Result<std::unique_ptr<ResultStream>> DoProtoAction(
69 FlightSqlClient* client, const FlightCallOptions& options, std::string action_type,
70 const google::protobuf::Message& action) {
71 Action packed_action;
72 RETURN_NOT_OK(
73 flight::internal::PackProtoAction(std::move(action_type), action, &packed_action));
74 return client->DoAction(options, packed_action);
75}
76
77void SetPlan(const SubstraitPlan& plan, flight_sql_pb::SubstraitPlan* pb_plan) {
78 pb_plan->set_plan(plan.plan);

Callers 1

client.ccFile · 0.85

Calls 2

PackProtoActionFunction · 0.85
DoActionMethod · 0.45

Tested by

no test coverage detected