Advance by as many values as provided or until exhaustion of the decoder. Return the number of values skipped.
| 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; } |
nothing calls this directly
no outgoing calls
no test coverage detected