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

Method ReadRepetitionLevels

cpp/src/parquet/column_reader.cc:682–687  ·  view source on GitHub ↗

Read multiple repetition levels into preallocated memory Returns the number of decoded repetition levels

Source from the content-addressed store, hash-verified

680 // Read multiple repetition levels into preallocated memory
681 // Returns the number of decoded repetition levels
682 int64_t ReadRepetitionLevels(int64_t batch_size, int16_t* levels) {
683 if (max_rep_level_ == 0) {
684 return 0;
685 }
686 return repetition_level_decoder_.Decode(static_cast<int>(batch_size), levels);
687 }
688
689 // Advance to the next data page
690 bool ReadNewPage() {

Callers 3

ReadLevelsMethod · 0.80
ReadRecordsMethod · 0.80
SkipRecordsRepeatedMethod · 0.80

Calls 1

DecodeMethod · 0.45

Tested by

no test coverage detected