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

Method UnwrapStatus

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

Source from the content-addressed store, hash-verified

101}
102
103std::shared_ptr<FlightWriteSizeStatusDetail> FlightWriteSizeStatusDetail::UnwrapStatus(
104 const arrow::Status& status) {
105 if (!status.detail() || status.detail()->type_id() != kWriteSizeDetailTypeId) {
106 return nullptr;
107 }
108 return std::dynamic_pointer_cast<FlightWriteSizeStatusDetail>(status.detail());
109}
110
111FlightClientOptions FlightClientOptions::Defaults() { return FlightClientOptions(); }
112

Callers

nothing calls this directly

Calls 1

type_idMethod · 0.45

Tested by

no test coverage detected