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

Method SkipColumns

cpp/src/parquet/stream_reader.cc:464–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464int64_t StreamReader::SkipColumns(int64_t num_columns_to_skip) {
465 int64_t num_columns_skipped = 0;
466
467 if (!eof_) {
468 for (; (num_columns_to_skip > num_columns_skipped) &&
469 static_cast<std::size_t>(column_index_) < nodes_.size();
470 ++column_index_) {
471 SkipRowsInColumn(column_readers_[column_index_].get(), 1);
472 ++num_columns_skipped;
473 }
474 }
475 return num_columns_skipped;
476}
477
478void StreamReader::SkipRowsInColumn(ColumnReader* reader, int64_t num_rows_to_skip) {
479 int64_t num_skipped = 0;

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected