polars::chunked_array::builder

Trait ListBuilderTrait

Source
pub trait ListBuilderTrait {
    // Required methods
    fn append_series(&mut self, s: &Series) -> Result<(), PolarsError>;
    fn append_null(&mut self);

    // Provided methods
    fn append_opt_series(
        &mut self,
        opt_s: Option<&Series>,
    ) -> Result<(), PolarsError> { ... }
    fn field(&self) -> &Field { ... }
    fn inner_array(&mut self) -> Box<dyn Array> { ... }
    fn fast_explode(&self) -> bool { ... }
    fn finish(&mut self) -> ChunkedArray<ListType> { ... }
}

Required Methods§

Source

fn append_series(&mut self, s: &Series) -> Result<(), PolarsError>

Source

fn append_null(&mut self)

Provided Methods§

Source

fn append_opt_series( &mut self, opt_s: Option<&Series>, ) -> Result<(), PolarsError>

Source

fn field(&self) -> &Field

Source

fn inner_array(&mut self) -> Box<dyn Array>

Source

fn fast_explode(&self) -> bool

Source

fn finish(&mut self) -> ChunkedArray<ListType>

Implementations on Foreign Types§

Source§

impl<S> ListBuilderTrait for Box<S>
where S: ListBuilderTrait + ?Sized,

Implementors§