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

Method extend

arrow-array/src/builder/primitive_builder.rs:406–410  ·  view source on GitHub ↗
(&mut self, iter: T)

Source from the content-addressed store, hash-verified

404impl<P: ArrowPrimitiveType> Extend<Option<P::Native>> for PrimitiveBuilder<P> {
405 #[inline]
406 fn extend<T: IntoIterator<Item = Option<P::Native>>>(&mut self, iter: T) {
407 for v in iter {
408 self.append_option(v)
409 }
410 }
411}
412
413#[cfg(test)]

Callers 5

append_value_nMethod · 0.45
append_nullsMethod · 0.45
test_extendFunction · 0.45

Calls 1

append_optionMethod · 0.45

Tested by 1

test_extendFunction · 0.36