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

Function MakeFlightInfo

cpp/src/arrow/flight/test_util.cc:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69const std::string& TestServer::unix_sock() const { return unix_sock_; }
70
71FlightInfo MakeFlightInfo(const Schema& schema, const FlightDescriptor& descriptor,
72 const std::vector<FlightEndpoint>& endpoints,
73 int64_t total_records, int64_t total_bytes, bool ordered,
74 std::string app_metadata) {
75 EXPECT_OK_AND_ASSIGN(auto info,
76 FlightInfo::Make(schema, descriptor, endpoints, total_records,
77 total_bytes, ordered, std::move(app_metadata)));
78 return info;
79}
80
81FlightInfo MakeFlightInfo(const FlightDescriptor& descriptor,
82 const std::vector<FlightEndpoint>& endpoints,

Callers 7

GetFlightInfoMethod · 0.85
ExampleFlightInfoFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected