pub struct ZigZagVTable;Trait Implementations§
Source§impl ArrayVTable<ZigZagVTable> for ZigZagVTable
impl ArrayVTable<ZigZagVTable> for ZigZagVTable
fn len(array: &ZigZagArray) -> usize
fn dtype(array: &ZigZagArray) -> &DType
fn stats(array: &ZigZagArray) -> StatsSetRef<'_>
Source§impl CanonicalVTable<ZigZagVTable> for ZigZagVTable
impl CanonicalVTable<ZigZagVTable> for ZigZagVTable
Source§fn canonicalize(array: &ZigZagArray) -> VortexResult<Canonical>
fn canonicalize(array: &ZigZagArray) -> VortexResult<Canonical>
Returns the canonical representation of the array. Read more
Source§fn append_to_builder(
array: &<V as VTable>::Array,
builder: &mut dyn ArrayBuilder,
) -> Result<(), VortexError>
fn append_to_builder( array: &<V as VTable>::Array, builder: &mut dyn ArrayBuilder, ) -> Result<(), VortexError>
Writes the array into a canonical builder. Read more
Source§impl CastKernel for ZigZagVTable
impl CastKernel for ZigZagVTable
fn cast( &self, array: &ZigZagArray, dtype: &DType, ) -> VortexResult<Option<ArrayRef>>
Source§impl Debug for ZigZagVTable
impl Debug for ZigZagVTable
Source§impl EncodeVTable<ZigZagVTable> for ZigZagVTable
impl EncodeVTable<ZigZagVTable> for ZigZagVTable
Source§fn encode(
encoding: &ZigZagEncoding,
canonical: &Canonical,
_like: Option<&ZigZagArray>,
) -> VortexResult<Option<ZigZagArray>>
fn encode( encoding: &ZigZagEncoding, canonical: &Canonical, _like: Option<&ZigZagArray>, ) -> VortexResult<Option<ZigZagArray>>
Try to encode a canonical array into this encoding. Read more
Source§impl FilterKernel for ZigZagVTable
impl FilterKernel for ZigZagVTable
Source§fn filter(&self, array: &ZigZagArray, mask: &Mask) -> VortexResult<ArrayRef>
fn filter(&self, array: &ZigZagArray, mask: &Mask) -> VortexResult<ArrayRef>
Filter an array by the provided predicate. Read more
Source§impl MaskKernel for ZigZagVTable
impl MaskKernel for ZigZagVTable
Source§fn mask(
&self,
array: &ZigZagArray,
filter_mask: &Mask,
) -> VortexResult<ArrayRef>
fn mask( &self, array: &ZigZagArray, filter_mask: &Mask, ) -> VortexResult<ArrayRef>
Replace masked values with null in array.
Source§impl OperationsVTable<ZigZagVTable> for ZigZagVTable
impl OperationsVTable<ZigZagVTable> for ZigZagVTable
Source§fn slice(
array: &ZigZagArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayRef>
fn slice( array: &ZigZagArray, start: usize, stop: usize, ) -> VortexResult<ArrayRef>
Perform a constant-time slice of the array. Read more
Source§fn scalar_at(array: &ZigZagArray, index: usize) -> VortexResult<Scalar>
fn scalar_at(array: &ZigZagArray, index: usize) -> VortexResult<Scalar>
Fetch the scalar at the given index. Read more
Source§impl SerdeVTable<ZigZagVTable> for ZigZagVTable
impl SerdeVTable<ZigZagVTable> for ZigZagVTable
type Metadata = EmptyMetadata
Source§fn metadata(_array: &ZigZagArray) -> VortexResult<Option<Self::Metadata>>
fn metadata(_array: &ZigZagArray) -> VortexResult<Option<Self::Metadata>>
Exports the metadata for the array. Read more
Source§fn build(
_encoding: &ZigZagEncoding,
dtype: &DType,
len: usize,
_metadata: &<Self::Metadata as DeserializeMetadata>::Output,
_buffers: &[ByteBuffer],
children: &dyn ArrayChildren,
) -> VortexResult<ZigZagArray>
fn build( _encoding: &ZigZagEncoding, dtype: &DType, len: usize, _metadata: &<Self::Metadata as DeserializeMetadata>::Output, _buffers: &[ByteBuffer], children: &dyn ArrayChildren, ) -> VortexResult<ZigZagArray>
Build an array from its given parts.
Source§impl TakeKernel for ZigZagVTable
impl TakeKernel for ZigZagVTable
Source§fn take(
&self,
array: &ZigZagArray,
indices: &dyn Array,
) -> VortexResult<ArrayRef>
fn take( &self, array: &ZigZagArray, indices: &dyn Array, ) -> VortexResult<ArrayRef>
Source§impl VTable for ZigZagVTable
impl VTable for ZigZagVTable
type Array = ZigZagArray
type Encoding = ZigZagEncoding
type ArrayVTable = ZigZagVTable
type CanonicalVTable = ZigZagVTable
type OperationsVTable = ZigZagVTable
type ValidityVTable = ValidityVTableFromChild
type VisitorVTable = ZigZagVTable
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 = ZigZagVTable
type EncodeVTable = ZigZagVTable
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 = ZigZagVTable
type SerdeVTable = ZigZagVTable
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 ValidityChild<ZigZagVTable> for ZigZagVTable
impl ValidityChild<ZigZagVTable> for ZigZagVTable
fn validity_child(array: &ZigZagArray) -> &dyn Array
Source§impl VisitorVTable<ZigZagVTable> for ZigZagVTable
impl VisitorVTable<ZigZagVTable> for ZigZagVTable
Source§fn visit_buffers(_array: &ZigZagArray, _visitor: &mut dyn ArrayBufferVisitor)
fn visit_buffers(_array: &ZigZagArray, _visitor: &mut dyn ArrayBufferVisitor)
Visit the buffers of the array.
Source§fn visit_children(array: &ZigZagArray, visitor: &mut dyn ArrayChildVisitor)
fn visit_children(array: &ZigZagArray, visitor: &mut dyn ArrayChildVisitor)
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for ZigZagVTable
impl RefUnwindSafe for ZigZagVTable
impl Send for ZigZagVTable
impl Sync for ZigZagVTable
impl Unpin for ZigZagVTable
impl UnwindSafe for ZigZagVTable
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