[][src]Struct arrow::builder::PrimitiveArrayBuilder

pub struct PrimitiveArrayBuilder<T: ArrowPrimitiveType> { /* fields omitted */ }

Array builder for fixed-width primitive types

Methods

impl<T: ArrowPrimitiveType> PrimitiveArrayBuilder<T>
[src]

Creates a new primitive array builder

Returns the capacity of this builder measured in slots of type T

Pushes a value of type T into the builder

Pushes a null slot into the builder

Pushes an Option<T> into the builder

Pushes a slice of type T into the builder

Trait Implementations

impl<T: ArrowPrimitiveType> ArrayBuilder for PrimitiveArrayBuilder<T>
[src]

The type of array that this builder creates

Returns the builder as an owned Any type so that it can be downcast to a specific implementation before calling it's finish method

Returns the number of array slots in the builder

Builds the PrimitiveArray

Auto Trait Implementations

impl<T> Send for PrimitiveArrayBuilder<T> where
    T: Send

impl<T> Sync for PrimitiveArrayBuilder<T> where
    T: Sync

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.