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

Method append_option

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

Source from the content-addressed store, hash-verified

133 /// See [`Self::append_value`] for more panic information.
134 #[inline]
135 pub fn append_option(&mut self, value: Option<impl AsRef<T::Native>>) {
136 match value {
137 None => self.append_null(),
138 Some(v) => self.append_value(v),
139 };
140 }
141
142 /// Append a null value into the builder.
143 #[inline]

Callers 2

extendMethod · 0.45

Calls 2

append_nullMethod · 0.45
append_valueMethod · 0.45

Tested by

no test coverage detected