VectorIntoArray

Trait VectorIntoArray 

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

Trait for converting vector types into arrays.

Required Methods§

Source

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

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

Implementations on Foreign Types§

Source§

impl VectorIntoArray for DecimalVector

Source§

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

Source§

impl VectorIntoArray for PrimitiveVector

Source§

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

Source§

impl VectorIntoArray for Vector

Source§

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

Source§

impl VectorIntoArray for BoolVector

Source§

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

Source§

impl VectorIntoArray for FixedSizeListVector

Source§

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

Source§

impl VectorIntoArray for ListViewVector

Source§

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

Source§

impl VectorIntoArray for NullVector

Source§

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

Source§

impl VectorIntoArray for StructVector

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§