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

Method CancelFlightInfo

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

Source from the content-addressed store, hash-verified

591}
592
593arrow::Result<CancelFlightInfoResult> FlightClient::CancelFlightInfo(
594 const FlightCallOptions& options, const CancelFlightInfoRequest& request) {
595 ARROW_ASSIGN_OR_RAISE(auto body, request.SerializeToBuffer());
596 Action action{ActionType::kCancelFlightInfo.type, std::move(body)};
597 ARROW_ASSIGN_OR_RAISE(auto stream, DoAction(options, action));
598 ARROW_ASSIGN_OR_RAISE(auto result, stream->Next());
599 ARROW_ASSIGN_OR_RAISE(auto cancel_result, CancelFlightInfoResult::Deserialize(
600 std::string_view(*result->body)));
601 ARROW_RETURN_NOT_OK(stream->Drain());
602 return cancel_result;
603}
604
605arrow::Result<FlightEndpoint> FlightClient::RenewFlightEndpoint(
606 const FlightCallOptions& options, const RenewFlightEndpointRequest& request) {

Callers

nothing calls this directly

Calls 1

DrainMethod · 0.80

Tested by

no test coverage detected