Struct arrow::list_builder::ListBuilder
[−]
[src]
pub struct ListBuilder<T> where
T: ArrowPrimitiveType, { /* fields omitted */ }
Builder for List
Methods
impl<T> ListBuilder<T> where
T: ArrowPrimitiveType,
[src]
T: ArrowPrimitiveType,
pub fn new() -> Self
[src]
Create a ListBuilder with a default capacity
pub fn with_capacity(n: usize) -> Self
[src]
Create a ListBuilder with the specified capacity
pub fn push(&mut self, slice: &[T])
[src]
Push one array slot to the builder
pub fn finish(&mut self) -> List<T>
[src]
Create an immutable List