pub struct NullVTable;
Trait Implementations§
Source§impl ArrayVTable<NullVTable> for NullVTable
impl ArrayVTable<NullVTable> for NullVTable
Source§impl CanonicalVTable<NullVTable> for NullVTable
impl CanonicalVTable<NullVTable> for NullVTable
Source§fn canonicalize(array: &NullArray) -> VortexResult<Canonical>
fn canonicalize(array: &NullArray) -> 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 NullVTable
impl Debug for NullVTable
Source§impl FilterKernel for NullVTable
impl FilterKernel for NullVTable
Source§impl MaskKernel for NullVTable
impl MaskKernel for NullVTable
Source§impl MinMaxKernel for NullVTable
impl MinMaxKernel for NullVTable
fn min_max(&self, _array: &NullArray) -> VortexResult<Option<MinMaxResult>>
Source§impl OperationsVTable<NullVTable> for NullVTable
impl OperationsVTable<NullVTable> for NullVTable
Source§impl SerdeVTable<NullVTable> for NullVTable
impl SerdeVTable<NullVTable> for NullVTable
type Metadata = EmptyMetadata
Source§fn metadata(_array: &NullArray) -> VortexResult<Option<Self::Metadata>>
fn metadata(_array: &NullArray) -> VortexResult<Option<Self::Metadata>>
Exports the metadata for the array. Read more
Source§fn build(
_encoding: &NullEncoding,
_dtype: &DType,
len: usize,
_metadata: &Self::Metadata,
_buffers: &[ByteBuffer],
_children: &dyn ArrayChildren,
) -> VortexResult<NullArray>
fn build( _encoding: &NullEncoding, _dtype: &DType, len: usize, _metadata: &Self::Metadata, _buffers: &[ByteBuffer], _children: &dyn ArrayChildren, ) -> VortexResult<NullArray>
Build an array from its given parts.
Source§impl TakeKernel for NullVTable
impl TakeKernel for NullVTable
Source§impl VTable for NullVTable
impl VTable for NullVTable
type Array = NullArray
type Encoding = NullEncoding
type ArrayVTable = NullVTable
type CanonicalVTable = NullVTable
type OperationsVTable = NullVTable
type ValidityVTable = NullVTable
type VisitorVTable = NullVTable
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 = NullVTable
type SerdeVTable = NullVTable
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<NullVTable> for NullVTable
impl ValidityVTable<NullVTable> for NullVTable
fn is_valid(_array: &NullArray, _index: usize) -> VortexResult<bool>
fn all_valid(array: &NullArray) -> VortexResult<bool>
fn all_invalid(array: &NullArray) -> VortexResult<bool>
fn validity_mask(array: &NullArray) -> 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<NullVTable> for NullVTable
impl VisitorVTable<NullVTable> for NullVTable
Source§fn visit_buffers(_array: &NullArray, _visitor: &mut dyn ArrayBufferVisitor)
fn visit_buffers(_array: &NullArray, _visitor: &mut dyn ArrayBufferVisitor)
Visit the buffers of the array.
Source§fn visit_children(_array: &NullArray, _visitor: &mut dyn ArrayChildVisitor)
fn visit_children(_array: &NullArray, _visitor: &mut dyn ArrayChildVisitor)
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for NullVTable
impl RefUnwindSafe for NullVTable
impl Send for NullVTable
impl Sync for NullVTable
impl Unpin for NullVTable
impl UnwindSafe for NullVTable
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