pub struct RunEndVTable;Trait Implementations§
Source§impl ArrayVTable<RunEndVTable> for RunEndVTable
impl ArrayVTable<RunEndVTable> for RunEndVTable
fn len(array: &RunEndArray) -> usize
fn dtype(array: &RunEndArray) -> &DType
fn stats(array: &RunEndArray) -> StatsSetRef<'_>
Source§impl CanonicalVTable<RunEndVTable> for RunEndVTable
impl CanonicalVTable<RunEndVTable> for RunEndVTable
Source§fn canonicalize(array: &RunEndArray) -> VortexResult<Canonical>
fn canonicalize(array: &RunEndArray) -> 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 RunEndVTable
impl CompareKernel for RunEndVTable
fn compare( &self, lhs: &RunEndArray, rhs: &dyn Array, operator: Operator, ) -> VortexResult<Option<ArrayRef>>
Source§impl Debug for RunEndVTable
impl Debug for RunEndVTable
Source§impl EncodeVTable<RunEndVTable> for RunEndVTable
impl EncodeVTable<RunEndVTable> for RunEndVTable
Source§fn encode(
_encoding: &RunEndEncoding,
canonical: &Canonical,
_like: Option<&RunEndArray>,
) -> VortexResult<Option<RunEndArray>>
fn encode( _encoding: &RunEndEncoding, canonical: &Canonical, _like: Option<&RunEndArray>, ) -> VortexResult<Option<RunEndArray>>
Try to encode a canonical array into this encoding. Read more
Source§impl FillNullKernel for RunEndVTable
impl FillNullKernel for RunEndVTable
fn fill_null( &self, array: &RunEndArray, fill_value: &Scalar, ) -> VortexResult<ArrayRef>
Source§impl FilterKernel for RunEndVTable
impl FilterKernel for RunEndVTable
Source§fn filter(&self, array: &RunEndArray, mask: &Mask) -> VortexResult<ArrayRef>
fn filter(&self, array: &RunEndArray, mask: &Mask) -> VortexResult<ArrayRef>
Filter an array by the provided predicate. Read more
Source§impl InvertKernel for RunEndVTable
impl InvertKernel for RunEndVTable
Source§fn invert(&self, array: &RunEndArray) -> VortexResult<ArrayRef>
fn invert(&self, array: &RunEndArray) -> VortexResult<ArrayRef>
Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
Source§impl IsConstantKernel for RunEndVTable
impl IsConstantKernel for RunEndVTable
Source§fn is_constant(
&self,
array: &Self::Array,
opts: &IsConstantOpts,
) -> VortexResult<Option<bool>>
fn is_constant( &self, array: &Self::Array, opts: &IsConstantOpts, ) -> VortexResult<Option<bool>>
Preconditions Read more
Source§impl IsSortedKernel for RunEndVTable
impl IsSortedKernel for RunEndVTable
Source§fn is_sorted(&self, array: &RunEndArray) -> VortexResult<bool>
fn is_sorted(&self, array: &RunEndArray) -> VortexResult<bool>
Preconditions Read more
fn is_strict_sorted(&self, array: &RunEndArray) -> VortexResult<bool>
Source§impl MinMaxKernel for RunEndVTable
impl MinMaxKernel for RunEndVTable
fn min_max(&self, array: &RunEndArray) -> VortexResult<Option<MinMaxResult>>
Source§impl NumericKernel for RunEndVTable
impl NumericKernel for RunEndVTable
fn numeric( &self, array: &RunEndArray, rhs: &dyn Array, op: NumericOperator, ) -> VortexResult<Option<ArrayRef>>
Source§impl OperationsVTable<RunEndVTable> for RunEndVTable
impl OperationsVTable<RunEndVTable> for RunEndVTable
Source§fn slice(
array: &RunEndArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayRef>
fn slice( array: &RunEndArray, start: usize, stop: usize, ) -> VortexResult<ArrayRef>
Perform a constant-time slice of the array. Read more
Source§fn scalar_at(array: &RunEndArray, index: usize) -> VortexResult<Scalar>
fn scalar_at(array: &RunEndArray, index: usize) -> VortexResult<Scalar>
Fetch the scalar at the given index. Read more
Source§impl SerdeVTable<RunEndVTable> for RunEndVTable
impl SerdeVTable<RunEndVTable> for RunEndVTable
type Metadata = ProstMetadata<RunEndMetadata>
Source§fn metadata(array: &RunEndArray) -> VortexResult<Option<Self::Metadata>>
fn metadata(array: &RunEndArray) -> VortexResult<Option<Self::Metadata>>
Exports the metadata for the array. Read more
Source§fn build(
_encoding: &RunEndEncoding,
dtype: &DType,
len: usize,
metadata: &<Self::Metadata as DeserializeMetadata>::Output,
_buffers: &[ByteBuffer],
children: &dyn ArrayChildren,
) -> VortexResult<RunEndArray>
fn build( _encoding: &RunEndEncoding, dtype: &DType, len: usize, metadata: &<Self::Metadata as DeserializeMetadata>::Output, _buffers: &[ByteBuffer], children: &dyn ArrayChildren, ) -> VortexResult<RunEndArray>
Build an array from its given parts.
Source§impl TakeFromKernel for RunEndVTable
impl TakeFromKernel for RunEndVTable
Source§fn take_from(
&self,
indices: &RunEndArray,
source: &dyn Array,
) -> VortexResult<Option<ArrayRef>>
fn take_from( &self, indices: &RunEndArray, source: &dyn Array, ) -> VortexResult<Option<ArrayRef>>
Source§impl TakeKernel for RunEndVTable
impl TakeKernel for RunEndVTable
Source§fn take(
&self,
array: &RunEndArray,
indices: &dyn Array,
) -> VortexResult<ArrayRef>
fn take( &self, array: &RunEndArray, indices: &dyn Array, ) -> VortexResult<ArrayRef>
Source§impl VTable for RunEndVTable
impl VTable for RunEndVTable
type Array = RunEndArray
type Encoding = RunEndEncoding
type ArrayVTable = RunEndVTable
type CanonicalVTable = RunEndVTable
type OperationsVTable = RunEndVTable
type ValidityVTable = RunEndVTable
type VisitorVTable = RunEndVTable
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 = RunEndVTable
type EncodeVTable = RunEndVTable
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 = RunEndVTable
type SerdeVTable = RunEndVTable
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<RunEndVTable> for RunEndVTable
impl ValidityVTable<RunEndVTable> for RunEndVTable
fn is_valid(array: &RunEndArray, index: usize) -> VortexResult<bool>
fn all_valid(array: &RunEndArray) -> VortexResult<bool>
fn all_invalid(array: &RunEndArray) -> VortexResult<bool>
fn validity_mask(array: &RunEndArray) -> 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<RunEndVTable> for RunEndVTable
impl VisitorVTable<RunEndVTable> for RunEndVTable
Source§fn visit_buffers(_array: &RunEndArray, _visitor: &mut dyn ArrayBufferVisitor)
fn visit_buffers(_array: &RunEndArray, _visitor: &mut dyn ArrayBufferVisitor)
Visit the buffers of the array.
Source§fn visit_children(array: &RunEndArray, visitor: &mut dyn ArrayChildVisitor)
fn visit_children(array: &RunEndArray, visitor: &mut dyn ArrayChildVisitor)
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for RunEndVTable
impl RefUnwindSafe for RunEndVTable
impl Send for RunEndVTable
impl Sync for RunEndVTable
impl Unpin for RunEndVTable
impl UnwindSafe for RunEndVTable
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