| 392 | class BlockParsingOperator { |
| 393 | public: |
| 394 | BlockParsingOperator(io::IOContext io_context, ParseOptions parse_options, |
| 395 | int num_csv_cols, int64_t first_row) |
| 396 | : io_context_(io_context), |
| 397 | parse_options_(parse_options), |
| 398 | num_csv_cols_(num_csv_cols), |
| 399 | count_rows_(first_row >= 0), |
| 400 | num_rows_seen_(first_row) {} |
| 401 | |
| 402 | // TODO: this is almost entirely the same as ReaderMixin::Parse(). Refactor? |
| 403 | Result<ParsedBlock> operator()(const CSVBlock& block) { |
nothing calls this directly
no outgoing calls
no test coverage detected