Appends a single value to this `FieldData`'s `values_buffer`.
(&mut self, v: T::Native)
| 84 | |
| 85 | /// Appends a single value to this `FieldData`'s `values_buffer`. |
| 86 | fn append_value<T: ArrowPrimitiveType>(&mut self, v: T::Native) { |
| 87 | self.values_buffer |
| 88 | .as_mut_any() |
| 89 | .downcast_mut::<BufferBuilder<T::Native>>() |
| 90 | .expect("Tried to append unexpected type") |
| 91 | .append(v); |
| 92 | |
| 93 | self.null_buffer_builder.append(true); |
| 94 | self.slots += 1; |
| 95 | } |
| 96 | |
| 97 | /// Appends a null to this `FieldData`. |
| 98 | fn append_null(&mut self) { |
nothing calls this directly
no test coverage detected