pub struct DictVTable;Trait Implementations§
Source§impl ArrayVTable<DictVTable> for DictVTable
impl ArrayVTable<DictVTable> for DictVTable
Source§impl CanonicalVTable<DictVTable> for DictVTable
impl CanonicalVTable<DictVTable> for DictVTable
Source§fn canonicalize(array: &DictArray) -> VortexResult<Canonical>
fn canonicalize(array: &DictArray) -> 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 CompareKernel for DictVTable
impl CompareKernel for DictVTable
Source§impl Debug for DictVTable
impl Debug for DictVTable
Source§impl EncodeVTable<DictVTable> for DictVTable
impl EncodeVTable<DictVTable> for DictVTable
Source§impl FillNullKernel for DictVTable
impl FillNullKernel for DictVTable
Source§impl FilterKernel for DictVTable
impl FilterKernel for DictVTable
Source§impl IsConstantKernel for DictVTable
impl IsConstantKernel for DictVTable
Source§fn is_constant(
&self,
array: &DictArray,
opts: &IsConstantOpts,
) -> VortexResult<Option<bool>>
fn is_constant( &self, array: &DictArray, opts: &IsConstantOpts, ) -> VortexResult<Option<bool>>
Preconditions Read more
Source§impl IsSortedKernel for DictVTable
impl IsSortedKernel for DictVTable
fn is_strict_sorted(&self, array: &DictArray) -> VortexResult<bool>
Source§impl LikeKernel for DictVTable
impl LikeKernel for DictVTable
fn like( &self, array: &DictArray, pattern: &dyn Array, options: LikeOptions, ) -> VortexResult<Option<ArrayRef>>
Source§impl MinMaxKernel for DictVTable
impl MinMaxKernel for DictVTable
fn min_max(&self, array: &DictArray) -> VortexResult<Option<MinMaxResult>>
Source§impl NumericKernel for DictVTable
impl NumericKernel for DictVTable
fn numeric( &self, array: &DictArray, rhs: &dyn Array, op: NumericOperator, ) -> VortexResult<Option<ArrayRef>>
Source§impl OperationsVTable<DictVTable> for DictVTable
impl OperationsVTable<DictVTable> for DictVTable
Source§impl SerdeVTable<DictVTable> for DictVTable
impl SerdeVTable<DictVTable> for DictVTable
type Metadata = ProstMetadata<DictMetadata>
Source§fn metadata(array: &DictArray) -> VortexResult<Option<Self::Metadata>>
fn metadata(array: &DictArray) -> VortexResult<Option<Self::Metadata>>
Exports the metadata for the array. Read more
Source§fn build(
_encoding: &DictEncoding,
dtype: &DType,
len: usize,
metadata: &<Self::Metadata as DeserializeMetadata>::Output,
_buffers: &[ByteBuffer],
children: &dyn ArrayChildren,
) -> VortexResult<DictArray>
fn build( _encoding: &DictEncoding, dtype: &DType, len: usize, metadata: &<Self::Metadata as DeserializeMetadata>::Output, _buffers: &[ByteBuffer], children: &dyn ArrayChildren, ) -> VortexResult<DictArray>
Build an array from its given parts.
Source§impl TakeKernel for DictVTable
impl TakeKernel for DictVTable
Source§impl VTable for DictVTable
impl VTable for DictVTable
type Array = DictArray
type Encoding = DictEncoding
type ArrayVTable = DictVTable
type CanonicalVTable = DictVTable
type OperationsVTable = DictVTable
type ValidityVTable = DictVTable
type VisitorVTable = DictVTable
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 = DictVTable
type EncodeVTable = DictVTable
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 = DictVTable
type SerdeVTable = DictVTable
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<DictVTable> for DictVTable
impl ValidityVTable<DictVTable> for DictVTable
fn is_valid(array: &DictArray, index: usize) -> VortexResult<bool>
fn all_valid(array: &DictArray) -> VortexResult<bool>
fn all_invalid(array: &DictArray) -> VortexResult<bool>
fn validity_mask(array: &DictArray) -> VortexResult<Mask>
Source§fn valid_count(array: &<V as VTable>::Array) -> Result<usize, VortexError>
fn valid_count(array: &<V as VTable>::Array) -> Result<usize, VortexError>
Returns the number of valid elements in the array. Read more
Source§fn invalid_count(array: &<V as VTable>::Array) -> Result<usize, VortexError>
fn invalid_count(array: &<V as VTable>::Array) -> Result<usize, VortexError>
Returns the number of invalid elements in the array. Read more
Source§impl VisitorVTable<DictVTable> for DictVTable
impl VisitorVTable<DictVTable> for DictVTable
Source§fn visit_buffers(_array: &DictArray, _visitor: &mut dyn ArrayBufferVisitor)
fn visit_buffers(_array: &DictArray, _visitor: &mut dyn ArrayBufferVisitor)
Visit the buffers of the array.
Source§fn visit_children(array: &DictArray, visitor: &mut dyn ArrayChildVisitor)
fn visit_children(array: &DictArray, visitor: &mut dyn ArrayChildVisitor)
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for DictVTable
impl RefUnwindSafe for DictVTable
impl Send for DictVTable
impl Sync for DictVTable
impl Unpin for DictVTable
impl UnwindSafe for DictVTable
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