| 1014 | using size_type = rle_size_t; |
| 1015 | |
| 1016 | static constexpr BatchCounter FromBatchSizeAndNulls(size_type batch_size, |
| 1017 | size_type null_count) { |
| 1018 | ARROW_DCHECK_LE(null_count, batch_size); |
| 1019 | return {batch_size - null_count, null_count}; |
| 1020 | } |
| 1021 | |
| 1022 | constexpr BatchCounter(size_type values_count, size_type null_count) noexcept |
| 1023 | : values_count_(values_count), null_count_(null_count) {} |
nothing calls this directly
no outgoing calls
no test coverage detected