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

Method DoAction

cpp/src/arrow/flight/flight_test.cc:1556–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1554 return Status::OK();
1555 }
1556 Status DoAction(const ServerCallContext&, const Action& action,
1557 std::unique_ptr<ResultStream>* result) override {
1558 if (action.type == "inc") {
1559 std::this_thread::sleep_for(std::chrono::milliseconds(100));
1560 counter_++;
1561 }
1562 *result = std::make_unique<ForeverResultStream>();
1563 return Status::OK();
1564 }
1565 Status ListActions(const ServerCallContext&,
1566 std::vector<ActionType>* actions) override {
1567 *actions = {};

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected