Trait vortex_array::IntoCanonicalVTable

source ·
pub trait IntoCanonicalVTable {
    // Required methods
    fn into_canonical(&self, array: ArrayData) -> VortexResult<Canonical>;
    fn into_arrow(&self, array: ArrayData) -> VortexResult<ArrayRef>;
}
Expand description

Encoding VTable for canonicalizing an array.

Required Methods§

source

fn into_canonical(&self, array: ArrayData) -> VortexResult<Canonical>

source

fn into_arrow(&self, array: ArrayData) -> VortexResult<ArrayRef>

Implementors§

source§

impl IntoCanonicalVTable for OpaqueEncoding

source§

impl<E: Encoding> IntoCanonicalVTable for E
where E::Array: IntoCanonical + TryFrom<ArrayData, Error = VortexError>,

Implement the IntoCanonicalVTable for all encodings with arrays implementing IntoCanonical.