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

Method WriteRepetitionLevels

cpp/src/parquet/column_writer.cc:834–838  ·  view source on GitHub ↗

Write multiple repetition levels

Source from the content-addressed store, hash-verified

832
833 // Write multiple repetition levels
834 void WriteRepetitionLevels(int64_t num_levels, const int16_t* levels) {
835 DCHECK(!closed_);
836 PARQUET_THROW_NOT_OK(
837 repetition_levels_sink_.Append(levels, sizeof(int16_t) * num_levels));
838 }
839
840 // RLE encode the src_buffer into dest_buffer and return the encoded size
841 int64_t RleEncodeLevels(const void* src_buffer, ResizableBuffer* dest_buffer,

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected