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

Method Advance

cpp/src/arrow/util/rle_encoding_internal.h:309–313  ·  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

307 /// Advance by as many values as provided or until exhaustion of the decoder.
308 /// Return the number of values skipped.
309 [[nodiscard]] rle_size_t Advance(rle_size_t batch_size) {
310 const auto steps = std::min(batch_size, remaining_count_);
311 remaining_count_ -= steps;
312 return steps;
313 }
314
315 /// Advance and count the number of occurrences of a value.
316 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected