| 73 | class CsvFileScanner : public FragmentScanner { |
| 74 | public: |
| 75 | CsvFileScanner(std::shared_ptr<csv::StreamingReader> reader, int num_batches, |
| 76 | int64_t best_guess_bytes_per_batch) |
| 77 | : reader_(std::move(reader)), |
| 78 | num_batches_(num_batches), |
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected