pub struct ChunkedEncoding;
Trait Implementations§
Source§impl CastKernel for ChunkedEncoding
impl CastKernel for ChunkedEncoding
fn cast(&self, array: &ChunkedArray, dtype: &DType) -> VortexResult<ArrayRef>
Source§impl CompareKernel for ChunkedEncoding
impl CompareKernel for ChunkedEncoding
fn compare( &self, lhs: &ChunkedArray, rhs: &dyn Array, operator: Operator, ) -> VortexResult<Option<ArrayRef>>
Source§impl ComputeVTable for ChunkedEncoding
impl ComputeVTable for ChunkedEncoding
Source§fn fill_null_fn(&self) -> Option<&dyn FillNullFn<&dyn Array>>
fn fill_null_fn(&self) -> Option<&dyn FillNullFn<&dyn Array>>
Fill null values with given desired value. Resulting array is NonNullable Read more
Source§fn is_constant_fn(&self) -> Option<&dyn IsConstantFn<&dyn Array>>
fn is_constant_fn(&self) -> Option<&dyn IsConstantFn<&dyn Array>>
Checks if an array is constant. Read more
fn is_sorted_fn(&self) -> Option<&dyn IsSortedFn<&dyn Array>>
Source§fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<&dyn Array>>
fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<&dyn Array>>
Single item indexing on Vortex arrays. Read more
Source§fn slice_fn(&self) -> Option<&dyn SliceFn<&dyn Array>>
fn slice_fn(&self) -> Option<&dyn SliceFn<&dyn Array>>
Perform zero-copy slicing of an array. Read more
Source§fn take_fn(&self) -> Option<&dyn TakeFn<&dyn Array>>
fn take_fn(&self) -> Option<&dyn TakeFn<&dyn Array>>
Take a set of indices from an array. This often forces allocations and decoding of
the receiver. Read more
Source§fn min_max_fn(&self) -> Option<&dyn MinMaxFn<&dyn Array>>
fn min_max_fn(&self) -> Option<&dyn MinMaxFn<&dyn Array>>
Compute the min, max of an array. Read more
Source§fn uncompressed_size_fn(&self) -> Option<&dyn UncompressedSizeFn<&dyn Array>>
fn uncompressed_size_fn(&self) -> Option<&dyn UncompressedSizeFn<&dyn Array>>
Approximates the uncompressed size of the array. Read more
Source§fn like_fn(&self) -> Option<&dyn LikeFn<&dyn Array>>
fn like_fn(&self) -> Option<&dyn LikeFn<&dyn Array>>
Perform a SQL LIKE operation on two arrays. Read more
Source§fn optimize_fn(&self) -> Option<&dyn OptimizeFn<&dyn Array>>
fn optimize_fn(&self) -> Option<&dyn OptimizeFn<&dyn Array>>
Try and optimize the layout of an array. Read more
Source§fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<&dyn Array>>
fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<&dyn Array>>
Perform a search over an ordered array. Read more
Source§fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<&dyn Array>>
fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<&dyn Array>>
Perform a search over an ordered array. Read more
fn take_from_fn(&self) -> Option<&dyn TakeFromFn<&dyn Array>>
Source§impl Debug for ChunkedEncoding
impl Debug for ChunkedEncoding
Source§impl Encoding for ChunkedEncoding
impl Encoding for ChunkedEncoding
Source§impl EncodingVTable for ChunkedEncoding
impl EncodingVTable for ChunkedEncoding
Source§fn id(&self) -> EncodingId
fn id(&self) -> EncodingId
Return the ID for this encoding implementation.
fn decode( &self, parts: &ArrayParts, ctx: &ArrayContext, dtype: DType, _len: usize, ) -> VortexResult<ArrayRef>
Source§impl FillNullFn<&ChunkedArray> for ChunkedEncoding
impl FillNullFn<&ChunkedArray> for ChunkedEncoding
fn fill_null( &self, array: &ChunkedArray, fill_value: Scalar, ) -> VortexResult<ArrayRef>
Source§impl FilterKernel for ChunkedEncoding
impl FilterKernel for ChunkedEncoding
Source§fn filter(&self, array: &ChunkedArray, mask: &Mask) -> VortexResult<ArrayRef>
fn filter(&self, array: &ChunkedArray, mask: &Mask) -> VortexResult<ArrayRef>
Filter an array by the provided predicate. Read more
Source§impl InvertKernel for ChunkedEncoding
impl InvertKernel for ChunkedEncoding
Source§fn invert(&self, array: &ChunkedArray) -> VortexResult<ArrayRef>
fn invert(&self, array: &ChunkedArray) -> VortexResult<ArrayRef>
Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
Source§impl IsConstantFn<&ChunkedArray> for ChunkedEncoding
impl IsConstantFn<&ChunkedArray> for ChunkedEncoding
Source§fn is_constant(
&self,
array: &ChunkedArray,
opts: &IsConstantOpts,
) -> VortexResult<Option<bool>>
fn is_constant( &self, array: &ChunkedArray, opts: &IsConstantOpts, ) -> VortexResult<Option<bool>>
Preconditions Read more
Source§impl IsSortedFn<&ChunkedArray> for ChunkedEncoding
impl IsSortedFn<&ChunkedArray> for ChunkedEncoding
Source§fn is_sorted(&self, array: &ChunkedArray) -> VortexResult<bool>
fn is_sorted(&self, array: &ChunkedArray) -> VortexResult<bool>
Preconditions Read more
fn is_strict_sorted(&self, array: &ChunkedArray) -> VortexResult<bool>
Source§impl MaskKernel for ChunkedEncoding
impl MaskKernel for ChunkedEncoding
Source§fn mask(&self, array: &ChunkedArray, mask: &Mask) -> VortexResult<ArrayRef>
fn mask(&self, array: &ChunkedArray, mask: &Mask) -> VortexResult<ArrayRef>
Replace masked values with null in array.
Source§impl MinMaxFn<&ChunkedArray> for ChunkedEncoding
impl MinMaxFn<&ChunkedArray> for ChunkedEncoding
fn min_max(&self, array: &ChunkedArray) -> VortexResult<Option<MinMaxResult>>
Source§impl ScalarAtFn<&ChunkedArray> for ChunkedEncoding
impl ScalarAtFn<&ChunkedArray> for ChunkedEncoding
fn scalar_at(&self, array: &ChunkedArray, index: usize) -> VortexResult<Scalar>
Source§impl SliceFn<&ChunkedArray> for ChunkedEncoding
impl SliceFn<&ChunkedArray> for ChunkedEncoding
Source§fn slice(
&self,
array: &ChunkedArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayRef>
fn slice( &self, array: &ChunkedArray, start: usize, stop: usize, ) -> VortexResult<ArrayRef>
Return a zero-copy slice of an array, between
start
(inclusive) and end
(exclusive).
If start >= stop, returns an empty array of the same type as self
.
Assumes that start or stop are out of bounds, may panic otherwise.Source§impl SumKernel for ChunkedEncoding
impl SumKernel for ChunkedEncoding
Source§fn sum(&self, array: &ChunkedArray) -> VortexResult<Scalar>
fn sum(&self, array: &ChunkedArray) -> VortexResult<Scalar>
Preconditions Read more
Source§impl TakeFn<&ChunkedArray> for ChunkedEncoding
impl TakeFn<&ChunkedArray> for ChunkedEncoding
Source§fn take(
&self,
array: &ChunkedArray,
indices: &dyn Array,
) -> VortexResult<ArrayRef>
fn take( &self, array: &ChunkedArray, indices: &dyn Array, ) -> VortexResult<ArrayRef>
Source§fn take_into(
&self,
array: A,
indices: &dyn Array,
builder: &mut dyn ArrayBuilder,
) -> VortexResult<()>
fn take_into( &self, array: A, indices: &dyn Array, builder: &mut dyn ArrayBuilder, ) -> VortexResult<()>
Has the same semantics as
Self::take
but materializes the result into the provided
builder.Source§impl UncompressedSizeFn<&ChunkedArray> for ChunkedEncoding
impl UncompressedSizeFn<&ChunkedArray> for ChunkedEncoding
Source§fn uncompressed_size(&self, array: &ChunkedArray) -> VortexResult<usize>
fn uncompressed_size(&self, array: &ChunkedArray) -> VortexResult<usize>
Compute the approximated uncompressed size of the array, in bytes.
Auto Trait Implementations§
impl Freeze for ChunkedEncoding
impl RefUnwindSafe for ChunkedEncoding
impl Send for ChunkedEncoding
impl Sync for ChunkedEncoding
impl Unpin for ChunkedEncoding
impl UnwindSafe for ChunkedEncoding
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<E> FillNullFn<&dyn Array> for E
impl<E> FillNullFn<&dyn Array> for E
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 moreSource§impl<E> IsConstantFn<&dyn Array> for E
impl<E> IsConstantFn<&dyn Array> for E
Source§fn is_constant(
&self,
array: &dyn Array,
opts: &IsConstantOpts,
) -> Result<Option<bool>, VortexError>
fn is_constant( &self, array: &dyn Array, opts: &IsConstantOpts, ) -> Result<Option<bool>, VortexError>
Preconditions Read more
Source§impl<E> IsSortedFn<&dyn Array> for E
impl<E> IsSortedFn<&dyn Array> for E
fn is_strict_sorted(&self, array: &dyn Array) -> Result<bool, VortexError>
Source§impl<E> MinMaxFn<&dyn Array> for E
impl<E> MinMaxFn<&dyn Array> for E
fn min_max( &self, array: &dyn Array, ) -> Result<Option<MinMaxResult>, VortexError>
Source§impl<E> ScalarAtFn<&dyn Array> for E
impl<E> ScalarAtFn<&dyn Array> for E
Source§impl<E> SliceFn<&dyn Array> for E
impl<E> SliceFn<&dyn Array> for E
Source§fn slice(
&self,
array: &dyn Array,
start: usize,
stop: usize,
) -> Result<Arc<dyn Array>, VortexError>
fn slice( &self, array: &dyn Array, start: usize, stop: usize, ) -> Result<Arc<dyn Array>, VortexError>
Return a zero-copy slice of an array, between
start
(inclusive) and end
(exclusive).
If start >= stop, returns an empty array of the same type as self
.
Assumes that start or stop are out of bounds, may panic otherwise.Source§impl<E> TakeFn<&dyn Array> for E
impl<E> TakeFn<&dyn Array> for E
Source§fn take(
&self,
array: &dyn Array,
indices: &dyn Array,
) -> Result<Arc<dyn Array>, VortexError>
fn take( &self, array: &dyn Array, indices: &dyn Array, ) -> Result<Arc<dyn Array>, VortexError>
Source§fn take_into(
&self,
array: &dyn Array,
indices: &dyn Array,
builder: &mut dyn ArrayBuilder,
) -> Result<(), VortexError>
fn take_into( &self, array: &dyn Array, indices: &dyn Array, builder: &mut dyn ArrayBuilder, ) -> Result<(), VortexError>
Has the same semantics as
Self::take
but materializes the result into the provided
builder.Source§impl<E> UncompressedSizeFn<&dyn Array> for E
impl<E> UncompressedSizeFn<&dyn Array> for E
Source§fn uncompressed_size(&self, array: &dyn Array) -> Result<usize, VortexError>
fn uncompressed_size(&self, array: &dyn Array) -> Result<usize, VortexError>
Compute the approximated uncompressed size of the array, in bytes.