VectorIntoArray

Trait VectorIntoArray 

Source
pub trait VectorIntoArray<T> {
    // Required method
    fn into_array(self, dtype: &DType) -> T;
}
Expand description

Trait for converting vector types into arrays.

Required Methods§

Source

fn into_array(self, dtype: &DType) -> T

Converts the vector into an array of the specified data type.

Implementations on Foreign Types§

Source§

impl VectorIntoArray<BoolArray> for BoolVector

Source§

fn into_array(self, dtype: &DType) -> BoolArray

Source§

impl VectorIntoArray<DecimalArray> for DecimalVector

Source§

impl VectorIntoArray<FixedSizeListArray> for FixedSizeListVector

Source§

impl VectorIntoArray<ListViewArray> for ListViewVector

Source§

impl VectorIntoArray<NullArray> for NullVector

Source§

fn into_array(self, dtype: &DType) -> NullArray

Source§

impl VectorIntoArray<PrimitiveArray> for PrimitiveVector

Source§

impl VectorIntoArray<StructArray> for StructVector

Source§

fn into_array(self, dtype: &DType) -> StructArray

Source§

impl VectorIntoArray<Arc<dyn Array>> for Vector

Source§

fn into_array(self, dtype: &DType) -> ArrayRef

Source§

impl<D: NativeDecimalType> VectorIntoArray<DecimalArray> for DVector<D>

Source§

impl<T: NativePType> VectorIntoArray<PrimitiveArray> for PVector<T>

Source§

impl<T: BinaryViewType> VectorIntoArray<VarBinViewArray> for BinaryViewVector<T>

Implementors§