Struct vortex_roaring::RoaringBoolEncoding
source · pub struct RoaringBoolEncoding;
Expand description
The array encoding
Trait Implementations§
source§impl ComputeVTable for RoaringBoolEncoding
impl ComputeVTable for RoaringBoolEncoding
source§fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>
fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>
Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>
fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>
Single item indexing on Vortex arrays. Read more
source§fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>
fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>
Perform zero-copy slicing of an array. Read more
§fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>
fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>
Implementation of binary boolean logic operations. Read more
§fn binary_numeric_fn(&self) -> Option<&dyn BinaryNumericFn<ArrayData>>
fn binary_numeric_fn(&self) -> Option<&dyn BinaryNumericFn<ArrayData>>
Implementation of binary numeric operations. Read more
§fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>
fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>
Implemented for arrays that can be casted to different types.
Implemented for arrays that can be casted to different types. Read more
§fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>
fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>
Binary operator implementation for arrays against other arrays. Read more
§fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>
fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>
Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>
fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>
Fill null values with given desired value. Resulting array is NonNullable Read more
§fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>
fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>
Filter an array with a given mask. Read more
§fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>
fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>
Perform a SQL LIKE operation on two arrays. Read more
§fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>
fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>
Perform a search over an ordered array. Read more
§fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>
fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>
Perform a search over an ordered array. Read more
source§impl Debug for RoaringBoolEncoding
impl Debug for RoaringBoolEncoding
source§impl Encoding for RoaringBoolEncoding
impl Encoding for RoaringBoolEncoding
source§impl EncodingVTable for RoaringBoolEncoding
impl EncodingVTable for RoaringBoolEncoding
source§impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding
impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding
source§fn invert(&self, array: &RoaringBoolArray) -> VortexResult<ArrayData>
fn invert(&self, array: &RoaringBoolArray) -> VortexResult<ArrayData>
Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding
impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding
fn scalar_at( &self, array: &RoaringBoolArray, index: usize, ) -> VortexResult<Scalar>
source§impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding
impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding
source§fn slice(
&self,
array: &RoaringBoolArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayData>
fn slice( &self, array: &RoaringBoolArray, start: usize, stop: usize, ) -> VortexResult<ArrayData>
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 StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding
impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding
source§fn compute_statistics(
&self,
array: &RoaringBoolArray,
stat: Stat,
) -> VortexResult<StatsSet>
fn compute_statistics( &self, array: &RoaringBoolArray, stat: Stat, ) -> VortexResult<StatsSet>
Compute the requested statistic. Can return additional stats.
source§impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding
impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding
fn is_valid(&self, _array: &RoaringBoolArray, _index: usize) -> bool
fn logical_validity(&self, array: &RoaringBoolArray) -> LogicalValidity
source§impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding
impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding
fn as_bool_array<'a>( &self, array: &'a RoaringBoolArray, ) -> Option<&'a dyn BoolArrayTrait>
fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>
fn as_primitive_array<'a>( &self, _array: &'a Array, ) -> Option<&'a dyn PrimitiveArrayTrait>
fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>
fn as_binary_array<'a>( &self, _array: &'a Array, ) -> Option<&'a dyn BinaryArrayTrait>
fn as_struct_array<'a>( &self, _array: &'a Array, ) -> Option<&'a dyn StructArrayTrait>
fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>
fn as_extension_array<'a>( &self, _array: &'a Array, ) -> Option<&'a dyn ExtensionArrayTrait>
source§impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding
impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding
fn accept( &self, array: &RoaringBoolArray, visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>
Auto Trait Implementations§
impl Freeze for RoaringBoolEncoding
impl RefUnwindSafe for RoaringBoolEncoding
impl Send for RoaringBoolEncoding
impl Sync for RoaringBoolEncoding
impl Unpin for RoaringBoolEncoding
impl UnwindSafe for RoaringBoolEncoding
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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