(&mut self, value: V::Native)
| 299 | /// value is appended to the values array. |
| 300 | #[inline] |
| 301 | pub fn append(&mut self, value: V::Native) -> Result<K::Native, ArrowError> { |
| 302 | let key = self.get_or_insert_key(value)?; |
| 303 | self.keys_builder.append_value(key); |
| 304 | Ok(key) |
| 305 | } |
| 306 | |
| 307 | /// Append a value multiple times to the array. |
| 308 | /// This is the same as `append` but allows to append the same value multiple times without doing multiple lookups. |