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

Method DoAction

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

Source from the content-addressed store, hash-verified

392
393class TlsTestServer : public FlightServerBase {
394 Status DoAction(const ServerCallContext& context, const Action& action,
395 std::unique_ptr<ResultStream>* result) override {
396 auto buf = Buffer::FromString("Hello, world!");
397 *result = std::make_unique<SimpleResultStream>(std::vector<Result>{Result{buf}});
398 return Status::OK();
399 }
400};
401
402class HeaderAuthTestServer : public FlightServerBase {

Callers 3

ASSERT_OK_AND_ASSIGNFunction · 0.45
DoActionMethod · 0.45
ASSERT_OK_AND_ASSIGNMethod · 0.45

Calls 2

FromStringFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected