Struct vortex_roaring::RoaringIntArray
source · pub struct RoaringIntArray { /* private fields */ }Implementations§
Trait Implementations§
source§impl AcceptArrayVisitor for RoaringIntArray
impl AcceptArrayVisitor for RoaringIntArray
fn accept(&self, _visitor: &mut dyn ArrayVisitor) -> VortexResult<()>
source§impl ArrayCompute for RoaringIntArray
impl ArrayCompute for RoaringIntArray
source§fn scalar_at(&self) -> Option<&dyn ScalarAtFn>
fn scalar_at(&self) -> Option<&dyn ScalarAtFn>
Single item indexing on Vortex arrays. Read more
source§fn cast(&self) -> Option<&dyn CastFn>
fn cast(&self) -> Option<&dyn CastFn>
Implemented for arrays that can be casted to different types. Read more
source§fn compare(&self) -> Option<&dyn CompareFn>
fn compare(&self) -> Option<&dyn CompareFn>
Binary operator implementation for arrays against other arrays. Read more
source§fn fill_forward(&self) -> Option<&dyn FillForwardFn>
fn fill_forward(&self) -> Option<&dyn FillForwardFn>
Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§fn filter(&self) -> Option<&dyn FilterFn>
fn filter(&self) -> Option<&dyn FilterFn>
Filtering function on arrays of predicates. Read more
source§fn filter_indices(&self) -> Option<&dyn FilterIndicesFn>
fn filter_indices(&self) -> Option<&dyn FilterIndicesFn>
Filter indices based on a disjunctive normal form relational expression.
TODO(aduffy): remove this function and push implementation into vortex-datafusion.
source§fn subtract_scalar(&self) -> Option<&dyn SubtractScalarFn>
fn subtract_scalar(&self) -> Option<&dyn SubtractScalarFn>
Broadcast subtraction of scalar from Vortex array. Read more
source§fn search_sorted(&self) -> Option<&dyn SearchSortedFn>
fn search_sorted(&self) -> Option<&dyn SearchSortedFn>
Perform a search over an ordered array. Read more
source§impl ArrayStatisticsCompute for RoaringIntArray
impl ArrayStatisticsCompute for RoaringIntArray
source§fn compute_statistics(&self, _stat: Stat) -> Result<StatsSet, VortexError>
fn compute_statistics(&self, _stat: Stat) -> Result<StatsSet, VortexError>
Compute the requested statistic. Can return additional stats.
source§impl ArrayTrait for RoaringIntArray
impl ArrayTrait for RoaringIntArray
source§impl ArrayValidity for RoaringIntArray
impl ArrayValidity for RoaringIntArray
fn is_valid(&self, _index: usize) -> bool
fn logical_validity(&self) -> LogicalValidity
source§impl ArrayVariants for RoaringIntArray
impl ArrayVariants for RoaringIntArray
fn as_primitive_array(&self) -> Option<&dyn PrimitiveArrayTrait>
fn as_null_array(&self) -> Option<&dyn NullArrayTrait>
fn as_null_array_unchecked(&self) -> &dyn NullArrayTrait
fn as_bool_array(&self) -> Option<&dyn BoolArrayTrait>
fn as_bool_array_unchecked(&self) -> &dyn BoolArrayTrait
fn as_primitive_array_unchecked(&self) -> &dyn PrimitiveArrayTrait
fn as_utf8_array(&self) -> Option<&dyn Utf8ArrayTrait>
fn as_utf8_array_unchecked(&self) -> &dyn Utf8ArrayTrait
fn as_binary_array(&self) -> Option<&dyn BinaryArrayTrait>
fn as_binary_array_unchecked(&self) -> &dyn BinaryArrayTrait
fn as_struct_array(&self) -> Option<&dyn StructArrayTrait>
fn as_struct_array_unchecked(&self) -> &dyn StructArrayTrait
fn as_list_array(&self) -> Option<&dyn ListArrayTrait>
fn as_list_array_unchecked(&self) -> &dyn ListArrayTrait
fn as_extension_array(&self) -> Option<&dyn ExtensionArrayTrait>
fn as_extension_array_unchecked(&self) -> &dyn ExtensionArrayTrait
source§impl AsArray for RoaringIntArray
impl AsArray for RoaringIntArray
fn as_array_ref(&self) -> &Array
source§impl Clone for RoaringIntArray
impl Clone for RoaringIntArray
source§fn clone(&self) -> RoaringIntArray
fn clone(&self) -> RoaringIntArray
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RoaringIntArray
impl Debug for RoaringIntArray
source§impl From<TypedArray<RoaringInt>> for RoaringIntArray
impl From<TypedArray<RoaringInt>> for RoaringIntArray
source§fn from(typed: TypedArray<RoaringInt>) -> Self
fn from(typed: TypedArray<RoaringInt>) -> Self
Converts to this type from the input type.
source§impl GetArrayMetadata for RoaringIntArray
impl GetArrayMetadata for RoaringIntArray
fn metadata(&self) -> Arc<dyn ArrayMetadata>
source§impl<'a> IntoArray for RoaringIntArray
impl<'a> IntoArray for RoaringIntArray
fn into_array(self) -> Array
source§impl IntoCanonical for RoaringIntArray
impl IntoCanonical for RoaringIntArray
fn into_canonical(self) -> VortexResult<Canonical>
source§impl ScalarAtFn for RoaringIntArray
impl ScalarAtFn for RoaringIntArray
source§impl TryFrom<&Array> for RoaringIntArray
impl TryFrom<&Array> for RoaringIntArray
source§impl TryFrom<Array> for RoaringIntArray
impl TryFrom<Array> for RoaringIntArray
impl PrimitiveArrayTrait for RoaringIntArray
Auto Trait Implementations§
impl !Freeze for RoaringIntArray
impl !RefUnwindSafe for RoaringIntArray
impl Send for RoaringIntArray
impl Sync for RoaringIntArray
impl Unpin for RoaringIntArray
impl !UnwindSafe for RoaringIntArray
Blanket Implementations§
source§impl<T> ArrayEncodingRef for Twhere
T: AsArray,
impl<T> ArrayEncodingRef for Twhere
T: AsArray,
fn encoding(&self) -> &'static dyn ArrayEncoding
source§impl<T> ArrayStatistics for Twhere
T: AsArray,
impl<T> ArrayStatistics for Twhere
T: AsArray,
fn statistics(&self) -> &dyn Statistics
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoArrayData for T
impl<T> IntoArrayData for T
fn into_array_data(self) -> ArrayData
source§impl<T> IntoArrayVariant for Twhere
T: IntoCanonical,
impl<T> IntoArrayVariant for Twhere
T: IntoCanonical,
fn into_null(self) -> Result<NullArray, VortexError>
fn into_bool(self) -> Result<BoolArray, VortexError>
fn into_primitive(self) -> Result<PrimitiveArray, VortexError>
fn into_struct(self) -> Result<StructArray, VortexError>
fn into_varbin(self) -> Result<VarBinArray, VortexError>
fn into_extension(self) -> Result<ExtensionArray, VortexError>
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