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

Method Advance

cpp/src/arrow/util/rle_bitmap_internal.h:225–230  ·  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

223 /// Advance by as many values as provided or until exhaustion of the decoder.
224 /// Return the number of values skipped.
225 [[nodiscard]] rle_size_t Advance(rle_size_t batch_size) {
226 const auto n_vals = GetAdvanceCapacity(batch_size);
227 values_read_ += n_vals;
228 ARROW_DCHECK_GE(remaining(), 0);
229 return n_vals;
230 }
231
232 /// Get the next value and return false if there are no more.
233 [[nodiscard]] bool Get(BitmapSpanMut out) { return GetBatch(out, 1) == 1; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected