Trait vortex_array::IntoArrayVariant

source ·
pub trait IntoArrayVariant {
    // Required methods
    fn into_null(self) -> VortexResult<NullArray>;
    fn into_bool(self) -> VortexResult<BoolArray>;
    fn into_primitive(self) -> VortexResult<PrimitiveArray>;
    fn into_struct(self) -> VortexResult<StructArray>;
    fn into_list(self) -> VortexResult<ListArray>;
    fn into_varbinview(self) -> VortexResult<VarBinViewArray>;
    fn into_extension(self) -> VortexResult<ExtensionArray>;
}
Expand description

Trait for types that can be converted from an owned type into an owned array variant.

§Canonicalization

This trait has a blanket implementation for all types implementing IntoCanonical.

Required Methods§

source

fn into_null(self) -> VortexResult<NullArray>

source

fn into_bool(self) -> VortexResult<BoolArray>

source

fn into_primitive(self) -> VortexResult<PrimitiveArray>

source

fn into_struct(self) -> VortexResult<StructArray>

source

fn into_list(self) -> VortexResult<ListArray>

source

fn into_varbinview(self) -> VortexResult<VarBinViewArray>

source

fn into_extension(self) -> VortexResult<ExtensionArray>

Implementors§