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

Method Advance

cpp/src/arrow/util/rle_encoding_internal.h:381–385  ·  view source on GitHub ↗

Advance by as many values as provided or until exhaustion of the decoder. Return the number of values skipped.

Source from the content-addressed store, hash-verified

379 /// Advance by as many values as provided or until exhaustion of the decoder.
380 /// Return the number of values skipped.
381 [[nodiscard]] rle_size_t Advance(rle_size_t batch_size) {
382 const auto steps = std::min(batch_size, remaining());
383 values_read_ += steps;
384 return steps;
385 }
386
387 /// Advance and count the number of occurrence of a values.
388 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected