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

Method DoAction

cpp/src/arrow/flight/test_flight_server.cc:383–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383Status TestFlightServer::DoAction(const ServerCallContext& context, const Action& action,
384 std::unique_ptr<ResultStream>* out) {
385 if (action.type == "action1") {
386 return RunAction1(action, out);
387 } else if (action.type == "action2") {
388 return RunAction2(out);
389 } else if (action.type == "list-incoming-headers") {
390 return ListIncomingHeaders(context, action, out);
391 } else {
392 return Status::NotImplemented(action.type);
393 }
394}
395
396Status TestFlightServer::ListActions(const ServerCallContext& context,
397 std::vector<ActionType>* out) {

Callers

nothing calls this directly

Calls 1

NotImplementedFunction · 0.50

Tested by

no test coverage detected