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

Method ReadRepetitionLevels

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

787 // Read multiple repetition levels into preallocated memory
788 // Returns the number of decoded repetition levels
789 int64_t ReadRepetitionLevels(int64_t batch_size, int16_t* levels) {
790 if (max_rep_level() == 0) {
791 return 0;
792 }
793 return repetition_level_decoder_.Decode(static_cast<int>(batch_size), levels);
794 }
795
796 // Advance to the next data page
797 bool ReadNewPage() {

Callers 3

ReadLevelsMethod · 0.80
ReadRecordsMethod · 0.80
SkipRecordsRepeatedMethod · 0.80

Calls 1

DecodeMethod · 0.45

Tested by

no test coverage detected