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

Method ToTable

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

Source from the content-addressed store, hash-verified

111FlightClientOptions FlightClientOptions::Defaults() { return FlightClientOptions(); }
112
113arrow::Result<std::shared_ptr<Table>> FlightStreamReader::ToTable(
114 const StopToken& stop_token) {
115 ARROW_ASSIGN_OR_RAISE(auto batches, ToRecordBatches(stop_token));
116 ARROW_ASSIGN_OR_RAISE(auto schema, GetSchema());
117 return Table::FromRecordBatches(schema, std::move(batches));
118}
119
120/// \brief An ipc::MessageReader adapting the Flight ClientDataStream interface.
121///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected