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

Method CsvFileScanner

cpp/src/arrow/dataset/file_csv.cc:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73class 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected