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

Method RunAction1

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

Source from the content-addressed store, hash-verified

344}
345
346Status TestFlightServer::RunAction1(const Action& action,
347 std::unique_ptr<ResultStream>* out) {
348 std::vector<Result> results;
349 for (int i = 0; i < 3; ++i) {
350 Result result;
351 std::string value = action.body->ToString() + "-part" + std::to_string(i);
352 result.body = Buffer::FromString(std::move(value));
353 results.push_back(result);
354 }
355 *out = std::make_unique<SimpleResultStream>(std::move(results));
356 return Status::OK();
357}
358
359Status TestFlightServer::RunAction2(std::unique_ptr<ResultStream>* out) {
360 // Empty

Callers

nothing calls this directly

Calls 5

to_stringFunction · 0.85
FromStringFunction · 0.85
push_backMethod · 0.80
OKFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected