| 53 | : reader_(std::move(reader)) {} |
| 54 | virtual ~StreamingReaderAsTableReader() = default; |
| 55 | virtual Result<std::shared_ptr<Table>> Read() { |
| 56 | ARROW_ASSIGN_OR_RAISE(auto table, reader_->ToTable()); |
| 57 | return table; |
| 58 | } |
| 59 | virtual Future<std::shared_ptr<Table>> ReadAsync() { |
| 60 | auto reader = reader_; |
| 61 | AsyncGenerator<std::shared_ptr<RecordBatch>> gen = [reader] { |
nothing calls this directly
no outgoing calls
no test coverage detected