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

Method FillReadahead

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

Source from the content-addressed store, hash-verified

1241
1242 private:
1243 void FillReadahead() {
1244 if (min_rows_in_flight_ == 0) {
1245 // No readahead, fetch the batch when it is asked for
1246 FetchNext();
1247 } else {
1248 while (readahead_index_ < row_groups_.size() &&
1249 rows_in_flight_ < min_rows_in_flight_) {
1250 FetchNext();
1251 }
1252 }
1253 }
1254
1255 void FetchNext() {
1256 size_t row_group_index = readahead_index_++;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected