| 111 | FlightClientOptions FlightClientOptions::Defaults() { return FlightClientOptions(); } |
| 112 | |
| 113 | arrow::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 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected