[−][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 BinaryArrayBuilder
type 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) -> usize
Returns the number of array slots in the builder
fn finish(self) -> BinaryArray
[src]
fn finish(self) -> BinaryArray
Builds 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) -> usize
Returns the number of array slots in the builder
fn finish(self) -> ListArray
[src]
fn finish(self) -> ListArray
Builds 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) -> usize
Returns the number of array slots in the builder
fn finish(self) -> PrimitiveArray<T>
[src]
fn finish(self) -> PrimitiveArray<T>
Builds the PrimitiveArray