Struct vortex_fastlanes::FoRArray
source · pub struct FoRArray(/* private fields */);
Implementations§
Trait Implementations§
source§impl FilterFn<FoRArray> for FoREncoding
impl FilterFn<FoRArray> for FoREncoding
source§impl IntoCanonical for FoRArray
impl IntoCanonical for FoRArray
fn into_canonical(self) -> VortexResult<Canonical>
fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>where
Self: Sized,
source§impl ScalarAtFn<FoRArray> for FoREncoding
impl ScalarAtFn<FoRArray> for FoREncoding
source§impl SearchSortedFn<FoRArray> for FoREncoding
impl SearchSortedFn<FoRArray> for FoREncoding
fn search_sorted( &self, array: &FoRArray, value: &Scalar, side: SearchSortedSide, ) -> VortexResult<SearchResult>
§fn search_sorted_many(
&self,
array: &Array,
values: &[Scalar],
side: SearchSortedSide,
) -> Result<Vec<SearchResult>, VortexError>
fn search_sorted_many( &self, array: &Array, values: &[Scalar], side: SearchSortedSide, ) -> Result<Vec<SearchResult>, VortexError>
Bulk search for many values.
source§impl SliceFn<FoRArray> for FoREncoding
impl SliceFn<FoRArray> for FoREncoding
source§fn slice(
&self,
array: &FoRArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayData>
fn slice( &self, array: &FoRArray, 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<FoRArray> for FoREncoding
impl StatisticsVTable<FoRArray> for FoREncoding
§fn compute_statistics(
&self,
_array: &Array,
_stat: Stat,
) -> Result<StatsSet, VortexError>
fn compute_statistics( &self, _array: &Array, _stat: Stat, ) -> Result<StatsSet, VortexError>
Compute the requested statistic. Can return additional stats.
source§impl TakeFn<FoRArray> for FoREncoding
impl TakeFn<FoRArray> for FoREncoding
source§impl ValidityVTable<FoRArray> for FoREncoding
impl ValidityVTable<FoRArray> for FoREncoding
source§impl VariantsVTable<FoRArray> for FoREncoding
impl VariantsVTable<FoRArray> for FoREncoding
fn as_primitive_array<'a>( &self, array: &'a FoRArray, ) -> Option<&'a dyn PrimitiveArrayTrait>
fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>
fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>
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<FoRArray> for FoREncoding
impl VisitorVTable<FoRArray> for FoREncoding
impl ArrayTrait for FoRArray
Auto Trait Implementations§
impl !Freeze for FoRArray
impl !RefUnwindSafe for FoRArray
impl Send for FoRArray
impl Sync for FoRArray
impl Unpin for FoRArray
impl !UnwindSafe for FoRArray
Blanket Implementations§
§impl<T> ArrayStatistics for Twhere
T: AsRef<ArrayData>,
impl<T> ArrayStatistics for Twhere
T: AsRef<ArrayData>,
fn statistics(&self) -> &dyn Statistics
fn inherit_statistics(&self, parent: &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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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>
§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_list(self) -> Result<ListArray, VortexError>
fn into_varbinview(self) -> Result<VarBinViewArray, 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