Add null counts. There must be the same number of null counts as there are containers
(
mut self,
counts: impl IntoIterator<Item = Option<u64>>,
)
| 2219 | /// Add null counts. There must be the same number of null counts as |
| 2220 | /// there are containers |
| 2221 | fn with_null_counts( |
| 2222 | mut self, |
| 2223 | counts: impl IntoIterator<Item = Option<u64>>, |
| 2224 | ) -> Self { |
| 2225 | let null_counts: ArrayRef = |
| 2226 | Arc::new(counts.into_iter().collect::<UInt64Array>()); |
| 2227 | |
| 2228 | self.assert_invariants(); |
| 2229 | self.null_counts = Some(null_counts); |
| 2230 | self |
| 2231 | } |
| 2232 | |
| 2233 | /// Add row counts. There must be the same number of row counts as |
| 2234 | /// there are containers |