Struct polars_arrow::builder::PrimitiveArrayBuilder[][src]

pub struct PrimitiveArrayBuilder<T> where
    T: ArrowPrimitiveType,
    T::Native: Default
{ /* fields omitted */ }
Expand description

An arrow primitive builder that is faster than Arrow’s native builder because it uses Rust Vec’s as buffer

Implementations

Appends a value of type T::Native into the builder

Appends a null slot into the builder

Build the array and reset this Builder

Trait Implementations

Returns the number of array slots in the builder

Returns whether number of array slots is zero

Builds the array

Returns the builder as a non-mutable Any reference. Read more

Returns the builder as a mutable Any reference. Read more

Returns the boxed builder as a box of Any.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.