pub struct ArrowVTable;
Trait Implementations§
Source§impl ArrayVTable<ArrowVTable> for ArrowVTable
impl ArrayVTable<ArrowVTable> for ArrowVTable
fn len(array: &ArrowArray) -> usize
fn dtype(array: &ArrowArray) -> &DType
fn stats(array: &ArrowArray) -> StatsSetRef<'_>
Source§impl CanonicalVTable<ArrowVTable> for ArrowVTable
impl CanonicalVTable<ArrowVTable> for ArrowVTable
Source§fn canonicalize(array: &ArrowArray) -> VortexResult<Canonical>
fn canonicalize(array: &ArrowArray) -> VortexResult<Canonical>
Returns the canonical representation of the array. Read more
Source§fn append_to_builder(
array: &V::Array,
builder: &mut dyn ArrayBuilder,
) -> VortexResult<()>
fn append_to_builder( array: &V::Array, builder: &mut dyn ArrayBuilder, ) -> VortexResult<()>
Writes the array into a canonical builder. Read more
Source§impl Debug for ArrowVTable
impl Debug for ArrowVTable
Source§impl OperationsVTable<ArrowVTable> for ArrowVTable
impl OperationsVTable<ArrowVTable> for ArrowVTable
Source§impl VTable for ArrowVTable
impl VTable for ArrowVTable
type Array = ArrowArray
type Encoding = ArrowEncoding
type ArrayVTable = ArrowVTable
type CanonicalVTable = ArrowVTable
type OperationsVTable = ArrowVTable
type ValidityVTable = ArrowVTable
type VisitorVTable = ArrowVTable
Source§type ComputeVTable = NotSupported
type ComputeVTable = NotSupported
Optionally enable implementing dynamic compute dispatch for this encoding.
Can be disabled by assigning to the
NotSupported
type.Source§type EncodeVTable = NotSupported
type EncodeVTable = NotSupported
Optionally enable the
EncodeVTable
for this encoding. This allows it to partake in
compression.
Can be disabled by assigning to the NotSupported
type.Source§type SerdeVTable = NotSupported
type SerdeVTable = NotSupported
Optionally enable serde for this encoding by implementing the
SerdeVTable
trait.
Can be disabled by assigning to the NotSupported
type.Source§fn id(_encoding: &Self::Encoding) -> EncodingId
fn id(_encoding: &Self::Encoding) -> EncodingId
Returns the ID of the encoding.
Source§fn encoding(_array: &Self::Array) -> EncodingRef
fn encoding(_array: &Self::Array) -> EncodingRef
Returns the encoding for the array.
Source§impl ValidityVTable<ArrowVTable> for ArrowVTable
impl ValidityVTable<ArrowVTable> for ArrowVTable
fn is_valid(array: &ArrowArray, index: usize) -> VortexResult<bool>
fn all_valid(array: &ArrowArray) -> VortexResult<bool>
fn all_invalid(array: &ArrowArray) -> VortexResult<bool>
fn validity_mask(array: &ArrowArray) -> VortexResult<Mask>
Source§fn valid_count(array: &V::Array) -> VortexResult<usize>
fn valid_count(array: &V::Array) -> VortexResult<usize>
Returns the number of valid elements in the array. Read more
Source§fn invalid_count(array: &V::Array) -> VortexResult<usize>
fn invalid_count(array: &V::Array) -> VortexResult<usize>
Returns the number of invalid elements in the array. Read more
Source§impl VisitorVTable<ArrowVTable> for ArrowVTable
impl VisitorVTable<ArrowVTable> for ArrowVTable
Source§fn visit_buffers(_array: &ArrowArray, _visitor: &mut dyn ArrayBufferVisitor)
fn visit_buffers(_array: &ArrowArray, _visitor: &mut dyn ArrayBufferVisitor)
Visit the buffers of the array.
Source§fn visit_children(_array: &ArrowArray, _visitor: &mut dyn ArrayChildVisitor)
fn visit_children(_array: &ArrowArray, _visitor: &mut dyn ArrayChildVisitor)
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for ArrowVTable
impl RefUnwindSafe for ArrowVTable
impl Send for ArrowVTable
impl Sync for ArrowVTable
impl Unpin for ArrowVTable
impl UnwindSafe for ArrowVTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more