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

Method append_option

arrow-array/src/builder/primitive_builder.rs:233–238  ·  view source on GitHub ↗
(&mut self, v: Option<T::Native>)

Source from the content-addressed store, hash-verified

231 /// Appends an `Option<T>` into the builder
232 #[inline]
233 pub fn append_option(&mut self, v: Option<T::Native>) {
234 match v {
235 None => self.append_null(),
236 Some(v) => self.append_value(v),
237 };
238 }
239
240 /// Appends a slice of type `T` into the builder
241 #[inline]

Callers 2

extendMethod · 0.45

Calls 2

append_nullMethod · 0.45
append_valueMethod · 0.45