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

Method extend

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

Source from the content-addressed store, hash-verified

369{
370 #[inline]
371 fn extend<T: IntoIterator<Item = Option<V>>>(&mut self, iter: T) {
372 for v in iter {
373 match v {
374 Some(elements) => {
375 self.values_builder.extend(elements);
376 self.append(true);
377 }
378 None => self.append(false),
379 }
380 }
381 }
382}
383
384#[cfg(test)]

Callers 3

append_valueMethod · 0.45
append_nullsMethod · 0.45
test_extendFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by 1

test_extendFunction · 0.36