[][src]Trait arrow::builder::ArrayBuilder

pub trait ArrayBuilder {
    type ArrayType: Array;
    fn into_any(self) -> Box<dyn Any>;
fn len(&self) -> usize;
fn finish(self) -> Self::ArrayType; }

Trait for dealing with different array builders at runtime

Associated Types

The type of array that this builder creates

Loading content...

Required methods

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 array

Loading content...

Implementors

impl ArrayBuilder for BinaryArrayBuilder
[src]

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 BinaryArray

impl<T: ArrayBuilder> ArrayBuilder for ListArrayBuilder<T> where
    T: 'static, 
[src]

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 ListArray

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

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

Loading content...