Skip to main content

FromArrowType

Trait FromArrowType 

Source
pub trait FromArrowType<T>: Sized {
    // Required method
    fn from_arrow(value: T) -> Self;
}
Expand description

Trait for converting Arrow types to Vortex types.

Required Methods§

Source

fn from_arrow(value: T) -> Self

Convert the Arrow type to a Vortex type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FromArrowType<&Field> for DType

Source§

fn from_arrow(field: &Field) -> Self

Source§

impl FromArrowType<&Fields> for StructFields

Source§

fn from_arrow(value: &Fields) -> Self

Source§

impl FromArrowType<&Schema> for DType

Source§

fn from_arrow(value: &Schema) -> Self

Source§

impl FromArrowType<&TimeUnit> for TimeUnit

Source§

fn from_arrow(value: &ArrowTimeUnit) -> Self

Source§

impl FromArrowType<(&DataType, Nullability)> for DType

Source§

fn from_arrow(value: (&DataType, Nullability)) -> Self

Source§

impl FromArrowType<Arc<Schema>> for DType

Source§

fn from_arrow(value: SchemaRef) -> Self

Source§

impl FromArrowType<TimeUnit> for TimeUnit

Implementors§