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

Method GetFlightInfoAsync

cpp/src/arrow/flight/client.cc:633–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633void FlightClient::GetFlightInfoAsync(
634 const FlightCallOptions& options, const FlightDescriptor& descriptor,
635 std::shared_ptr<AsyncListener<FlightInfo>> listener) {
636 if (auto status = CheckOpen(); !status.ok()) {
637 listener->OnFinish(std::move(status));
638 return;
639 }
640 transport_->GetFlightInfoAsync(options, descriptor, std::move(listener));
641}
642
643arrow::Future<FlightInfo> FlightClient::GetFlightInfoAsync(
644 const FlightCallOptions& options, const FlightDescriptor& descriptor) {

Callers 5

CheckDoGetMethod · 0.45
TestGetFlightInfoMethod · 0.45
TestListenerLifetimeMethod · 0.45

Calls 3

MakeFunction · 0.50
okMethod · 0.45
OnFinishMethod · 0.45

Tested by 5

CheckDoGetMethod · 0.36
TestGetFlightInfoMethod · 0.36
TestListenerLifetimeMethod · 0.36