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

Method RowGroupGenerator

cpp/src/parquet/arrow/reader.cc:1216–1227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214 };
1215
1216 explicit RowGroupGenerator(std::shared_ptr<FileReaderImpl> arrow_reader,
1217 ::arrow::internal::Executor* cpu_executor,
1218 std::vector<int> row_groups, std::vector<int> column_indices,
1219 int64_t min_rows_in_flight)
1220 : arrow_reader_(std::move(arrow_reader)),
1221 cpu_executor_(cpu_executor),
1222 row_groups_(std::move(row_groups)),
1223 column_indices_(std::move(column_indices)),
1224 min_rows_in_flight_(min_rows_in_flight),
1225 rows_in_flight_(0),
1226 index_(0),
1227 readahead_index_(0) {}
1228
1229 ::arrow::Future<RecordBatchGenerator> operator()() {
1230 if (index_ >= row_groups_.size()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected