[−][src]Trait arrow::builder::ArrayBuilder
Trait for dealing with different array builders at runtime
Associated Types
Loading content...Required methods
fn into_any(self) -> Box<dyn Any>
Returns the builder as an owned Any type so that it can be downcast to a specific
implementation before calling it's finish method
fn len(&self) -> usize
Returns the number of array slots in the builder
fn finish(self) -> Self::ArrayType
Builds the array
Implementors
impl ArrayBuilder for BinaryArrayBuilder[src]
impl ArrayBuilder for BinaryArrayBuildertype ArrayType = BinaryArray
fn into_any(self) -> Box<dyn Any>[src]
fn into_any(self) -> Box<dyn Any>Returns the builder as an owned Any type so that it can be downcast to a specific
implementation before calling it's finish method.
fn len(&self) -> usize[src]
fn len(&self) -> usizeReturns the number of array slots in the builder
fn finish(self) -> BinaryArray[src]
fn finish(self) -> BinaryArrayBuilds the BinaryArray
impl<T: ArrayBuilder> ArrayBuilder for ListArrayBuilder<T> where
T: 'static, [src]
impl<T: ArrayBuilder> ArrayBuilder for ListArrayBuilder<T> where
T: 'static, type ArrayType = ListArray
fn into_any(self) -> Box<dyn Any>[src]
fn into_any(self) -> Box<dyn Any>Returns the builder as an owned Any type so that it can be downcast to a specific
implementation before calling it's finish method.
fn len(&self) -> usize[src]
fn len(&self) -> usizeReturns the number of array slots in the builder
fn finish(self) -> ListArray[src]
fn finish(self) -> ListArrayBuilds the ListArray
impl<T: ArrowPrimitiveType> ArrayBuilder for PrimitiveArrayBuilder<T>[src]
impl<T: ArrowPrimitiveType> ArrayBuilder for PrimitiveArrayBuilder<T>type ArrayType = PrimitiveArray<T>
fn into_any(self) -> Box<dyn Any>[src]
fn into_any(self) -> Box<dyn Any>Returns the builder as an owned Any type so that it can be downcast to a specific
implementation before calling it's finish method
fn len(&self) -> usize[src]
fn len(&self) -> usizeReturns the number of array slots in the builder
fn finish(self) -> PrimitiveArray<T>[src]
fn finish(self) -> PrimitiveArray<T>Builds the PrimitiveArray