\brief Check if the iterator is at the end of the array. This can be used to avoid paying the cost of a call to RunEndEncodedArraySpan::end(). \return true if the iterator is at the end of the array
| 280 | /// |
| 281 | /// \return true if the iterator is at the end of the array |
| 282 | bool is_end(const RunEndEncodedArraySpan& span) const { |
| 283 | return logical_pos_ >= span.length(); |
| 284 | } |
| 285 | |
| 286 | Iterator& operator++() { |
| 287 | logical_pos_ = span.run_end(physical_pos_); |