Trait ToArray

Source
pub trait ToArray {
    // Required method
    fn to_anyvalue_array(&self) -> Result<Vec<Option<AnyValue>>>;
}
Expand description

This trait is used to convert arrow array into anyvalue array. Most of the arrow arrays implement this trait. Excepct the array which need to pre-compute the target type like StructArray.

Required Methods§

Source

fn to_anyvalue_array(&self) -> Result<Vec<Option<AnyValue>>>

Convert arrow array into anyvalue array.

Implementations on Foreign Types§

Source§

impl ToArray for BooleanArray

Source§

impl<T: OffsetSizeTrait> ToArray for GenericByteArray<GenericStringType<T>>

Source§

impl<T: ArrowPrimitiveType> ToArray for PrimitiveArray<T>
where T::Native: ToPrimitiveValue,

Implementors§