| 79 | best_guess_bytes_per_batch_(best_guess_bytes_per_batch) {} |
| 80 | |
| 81 | Future<std::shared_ptr<RecordBatch>> ScanBatch(int batch_number) override { |
| 82 | // This should be called in increasing order but let's verify that in case it changes. |
| 83 | // It would be easy enough to handle out of order but no need for that complexity at |
| 84 | // the moment. |
| 85 | DCHECK_EQ(scanned_so_far_++, batch_number); |
| 86 | return reader_->ReadNextAsync(); |
| 87 | } |
| 88 | |
| 89 | int64_t EstimatedDataBytes(int batch_number) override { |
| 90 | return best_guess_bytes_per_batch_; |
no test coverage detected