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

Method BlockParsingOperator

cpp/src/arrow/csv/reader.cc:394–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392class 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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected