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

Method CSVRowCounter

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

Source from the content-addressed store, hash-verified

1158 public std::enable_shared_from_this<CSVRowCounter> {
1159 public:
1160 CSVRowCounter(io::IOContext io_context, Executor* cpu_executor,
1161 std::shared_ptr<io::InputStream> input, const ReadOptions& read_options,
1162 const ParseOptions& parse_options)
1163 : ReaderMixin(io_context, std::move(input), read_options, parse_options,
1164 ConvertOptions::Defaults(), /*count_rows=*/true),
1165 cpu_executor_(cpu_executor),
1166 row_count_(0) {}
1167
1168 Future<int64_t> Count() {
1169 auto self = shared_from_this();

Callers

nothing calls this directly

Calls 1

DefaultsFunction · 0.50

Tested by

no test coverage detected