MCPcopy Create free account
hub / github.com/apache/arrow-rs / append_option

Method append_option

arrow-array/src/builder/generic_bytes_view_builder.rs:426–431  ·  view source on GitHub ↗
(&mut self, value: Option<impl AsRef<T::Native>>)

Source from the content-addressed store, hash-verified

424 /// Append an `Option` value into the builder
425 #[inline]
426 pub fn append_option(&mut self, value: Option<impl AsRef<T::Native>>) {
427 match value {
428 None => self.append_null(),
429 Some(v) => self.append_value(v),
430 };
431 }
432
433 /// Append the same value `n` times into the builder
434 ///

Callers 1

extendMethod · 0.45

Calls 2

append_nullMethod · 0.45
append_valueMethod · 0.45

Tested by

no test coverage detected