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

Method ReadRepetitionLevels

cpp/src/parquet/column_reader.cc:697–702  ·  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

695 // Read multiple repetition levels into preallocated memory
696 // Returns the number of decoded repetition levels
697 int64_t ReadRepetitionLevels(int64_t batch_size, int16_t* levels) {
698 if (max_rep_level_ == 0) {
699 return 0;
700 }
701 return repetition_level_decoder_.Decode(static_cast<int>(batch_size), levels);
702 }
703
704 // Advance to the next data page
705 bool ReadNewPage() {

Callers 3

ReadLevelsMethod · 0.80
ReadRecordsMethod · 0.80
SkipRecordsRepeatedMethod · 0.80

Calls 1

DecodeMethod · 0.45

Tested by

no test coverage detected