Returns a `NullBuffer` with a single null value at the given index
(num_values: usize, null_index: usize)
| 553 | |
| 554 | /// Returns a `NullBuffer` with a single null value at the given index |
| 555 | fn single_null_buffer(num_values: usize, null_index: usize) -> NullBuffer { |
| 556 | let mut null_builder = NullBufferBuilder::new(num_values); |
| 557 | null_builder.append_n_non_nulls(null_index); |
| 558 | null_builder.append_null(); |
| 559 | null_builder.append_n_non_nulls(num_values - null_index - 1); |
| 560 | // SAFETY: inner builder must be constructed |
| 561 | null_builder.finish().unwrap() |
| 562 | } |
| 563 | |
| 564 | impl<O: OffsetSizeTrait, V> Debug for ArrowBytesMap<O, V> |
| 565 | where |
no test coverage detected
searching dependent graphs…