Extends the in progress array with null elements, ignoring the input arrays. # Panics Panics if [`MutableArrayData`] not created with `use_nulls` or nullable source arrays
(&mut self, len: usize)
| 740 | /// |
| 741 | /// Panics if [`MutableArrayData`] not created with `use_nulls` or nullable source arrays |
| 742 | pub fn extend_nulls(&mut self, len: usize) { |
| 743 | self.data.len += len; |
| 744 | let bit_len = bit_util::ceil(self.data.len, 8); |
| 745 | let nulls = self.data.null_buffer(); |
| 746 | nulls.resize(bit_len, 0); |
| 747 | self.data.null_count += len; |
| 748 | (self.extend_nulls)(&mut self.data, len); |
| 749 | } |
| 750 | |
| 751 | /// Returns the current length |
| 752 | #[inline] |