pub struct ArrayView<'a, V>where
V: VTable,{ /* private fields */ }Expand description
A lightweight, Copy-able typed view into an ArrayRef.
Implementations§
Source§impl<'a, V> ArrayView<'a, V>where
V: VTable,
impl<'a, V> ArrayView<'a, V>where
V: VTable,
pub fn array(&self) -> &'a ArrayRef
pub fn data(&self) -> &'a <V as VTable>::TypedArrayData
pub fn slots(&self) -> &'a [Option<ArrayRef>]
pub fn dtype(&self) -> &DType
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn encoding_id(&self) -> Id
pub fn statistics(&self) -> StatsSetRef<'_>
pub fn validity(&self) -> Result<Validity, VortexError>
pub fn into_owned(self) -> Array<V>
Trait Implementations§
Source§impl<V> Deref for ArrayView<'_, V>where
V: VTable,
impl<V> Deref for ArrayView<'_, V>where
V: VTable,
Source§type Target = <V as VTable>::TypedArrayData
type Target = <V as VTable>::TypedArrayData
The resulting type after dereferencing.
Source§fn deref(&self) -> &<V as VTable>::TypedArrayData
fn deref(&self) -> &<V as VTable>::TypedArrayData
Dereferences the value.
Source§impl SparseExt for ArrayView<'_, Sparse>
impl SparseExt for ArrayView<'_, Sparse>
Source§fn resolved_patches(&self) -> Result<Patches, VortexError>
fn resolved_patches(&self) -> Result<Patches, VortexError>
Return patches with offset-resolved indices (offset subtracted from each index).
Source§impl<V> TypedArrayRef<V> for ArrayView<'_, V>where
V: VTable,
impl<V> TypedArrayRef<V> for ArrayView<'_, V>where
V: VTable,
impl<V> Copy for ArrayView<'_, V>where
V: VTable,
Auto Trait Implementations§
impl<'a, V> Freeze for ArrayView<'a, V>
impl<'a, V> !RefUnwindSafe for ArrayView<'a, V>
impl<'a, V> Send for ArrayView<'a, V>
impl<'a, V> Sync for ArrayView<'a, V>
impl<'a, V> Unpin for ArrayView<'a, V>
impl<'a, V> UnsafeUnpin for ArrayView<'a, V>
impl<'a, V> !UnwindSafe for ArrayView<'a, V>
Blanket Implementations§
Source§impl<T> ALPArrayExt for Twhere
T: TypedArrayRef<ALP>,
impl<T> ALPArrayExt for Twhere
T: TypedArrayRef<ALP>,
Source§impl<T> ALPArraySlotsExt for Twhere
T: TypedArrayRef<ALP>,
impl<T> ALPArraySlotsExt for Twhere
T: TypedArrayRef<ALP>,
fn encoded(&self) -> &ArrayRef
fn patch_indices(&self) -> Option<&ArrayRef>
fn patch_values(&self) -> Option<&ArrayRef>
fn patch_chunk_offsets(&self) -> Option<&ArrayRef>
Source§fn slots_view(&self) -> ALPSlotsView<'_>
fn slots_view(&self) -> ALPSlotsView<'_>
Returns a borrowed view of all slots.
Source§impl<T> ALPRDArrayExt for Twhere
T: TypedArrayRef<ALPRD>,
impl<T> ALPRDArrayExt for Twhere
T: TypedArrayRef<ALPRD>,
fn left_parts(&self) -> &ArrayRef
fn right_parts(&self) -> &ArrayRef
fn right_bit_width(&self) -> u8
fn left_parts_patches(&self) -> Option<Patches>
fn left_parts_dictionary(&self) -> &Buffer<u16>
Source§impl<T> BitPackedArrayExt for Twhere
T: TypedArrayRef<BitPacked>,
impl<T> BitPackedArrayExt for Twhere
T: TypedArrayRef<BitPacked>,
fn packed(&self) -> &BufferHandle
fn bit_width(&self) -> u8
fn offset(&self) -> u16
fn patches(&self) -> Option<Patches>
fn validity(&self) -> Validity
fn packed_slice<T>(&self) -> &[T]where
T: NativePType + BitPacking,
fn unpacked_chunks<T>(
&self,
) -> Result<UnpackedChunks<T, BitPackingStrategy>, VortexError>where
T: BitPacked,
Source§impl<T> BitPackedArraySlotsExt for Twhere
T: TypedArrayRef<BitPacked>,
impl<T> BitPackedArraySlotsExt for Twhere
T: TypedArrayRef<BitPacked>,
fn patch_indices(&self) -> Option<&ArrayRef>
fn patch_values(&self) -> Option<&ArrayRef>
fn patch_chunk_offsets(&self) -> Option<&ArrayRef>
fn validity_child(&self) -> Option<&ArrayRef>
Source§fn slots_view(&self) -> BitPackedSlotsView<'_>
fn slots_view(&self) -> BitPackedSlotsView<'_>
Returns a borrowed view of all slots.
Source§impl<T> BoolArrayExt for Twhere
T: TypedArrayRef<Bool>,
impl<T> BoolArrayExt for Twhere
T: TypedArrayRef<Bool>,
fn nullability(&self) -> Nullability
fn validity(&self) -> Validity
fn to_bit_buffer(&self) -> BitBuffer
fn maybe_execute_mask( &self, ctx: &mut ExecutionCtx, ) -> Result<Option<Mask>, VortexError>
fn execute_mask(&self, ctx: &mut ExecutionCtx) -> Mask
fn to_mask_fill_null_false(&self, ctx: &mut ExecutionCtx) -> Mask
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> ByteBoolArrayExt for Twhere
T: TypedArrayRef<ByteBool>,
impl<T> ByteBoolArrayExt for Twhere
T: TypedArrayRef<ByteBool>,
Source§impl<T> ChunkedArrayExt for Twhere
T: TypedArrayRef<Chunked>,
impl<T> ChunkedArrayExt for Twhere
T: TypedArrayRef<Chunked>,
fn chunk_offsets_array(&self) -> &ArrayRef
fn nchunks(&self) -> usize
fn chunk(&self, idx: usize) -> &ArrayRef
fn iter_chunks<'a>(&'a self) -> Box<dyn Iterator<Item = &'a ArrayRef> + 'a>
fn chunks(&self) -> Vec<ArrayRef>
fn non_empty_chunks<'a>(&'a self) -> Box<dyn Iterator<Item = &'a ArrayRef> + 'a>
fn chunk_offsets(&self) -> &[usize]
fn find_chunk_idx(&self, index: usize) -> Result<(usize, usize), VortexError>
fn array_iterator(&self) -> impl ArrayIterator
fn array_stream(&self) -> impl ArrayStream
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DateTimePartsArraySlotsExt for Twhere
T: TypedArrayRef<DateTimeParts>,
impl<T> DateTimePartsArraySlotsExt for Twhere
T: TypedArrayRef<DateTimeParts>,
Source§impl<T> DecimalArrayExt for Twhere
T: TypedArrayRef<Decimal>,
impl<T> DecimalArrayExt for Twhere
T: TypedArrayRef<Decimal>,
fn decimal_dtype(&self) -> DecimalDType
fn nullability(&self) -> Nullability
fn validity_child(&self) -> Option<&ArrayRef>
fn validity(&self) -> Validity
fn values_type(&self) -> DecimalType
fn precision(&self) -> u8
fn scale(&self) -> i8
fn buffer_handle(&self) -> &BufferHandle
fn buffer<T>(&self) -> Buffer<T>where
T: NativeDecimalType,
Source§impl<T> DecimalBytePartsArrayExt for Twhere
T: TypedArrayRef<DecimalByteParts>,
impl<T> DecimalBytePartsArrayExt for Twhere
T: TypedArrayRef<DecimalByteParts>,
Source§impl<T> DictArrayExt for Twhere
T: TypedArrayRef<Dict>,
impl<T> DictArrayExt for Twhere
T: TypedArrayRef<Dict>,
fn has_all_values_referenced(&self) -> bool
fn validate_all_values_referenced(&self) -> Result<(), VortexError>
fn compute_referenced_values_mask( &self, referenced: bool, ) -> Result<BitBuffer, VortexError>
Source§impl<T> DictArraySlotsExt for Twhere
T: TypedArrayRef<Dict>,
impl<T> DictArraySlotsExt for Twhere
T: TypedArrayRef<Dict>,
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load.Source§impl<K, V, T> Expiry<K, V> for T
impl<K, V, T> Expiry<K, V> for T
Source§fn expire_after_create(
&self,
key: &K,
value: &V,
created_at: Instant,
) -> Option<Duration>
fn expire_after_create( &self, key: &K, value: &V, created_at: Instant, ) -> Option<Duration>
Specifies that the entry should be automatically removed from the cache once
the duration has elapsed after the entry’s creation. This method is called
for cache write methods such as
insert and get_with but only when the key
was not present in the cache. Read moreSource§fn expire_after_read(
&self,
key: &K,
value: &V,
read_at: Instant,
duration_until_expiry: Option<Duration>,
last_modified_at: Instant,
) -> Option<Duration>
fn expire_after_read( &self, key: &K, value: &V, read_at: Instant, duration_until_expiry: Option<Duration>, last_modified_at: Instant, ) -> Option<Duration>
Specifies that the entry should be automatically removed from the cache once
the duration has elapsed after its last read. This method is called for cache
read methods such as
get and get_with but only when the key is present in
the cache. Read moreSource§fn expire_after_update(
&self,
key: &K,
value: &V,
updated_at: Instant,
duration_until_expiry: Option<Duration>,
) -> Option<Duration>
fn expire_after_update( &self, key: &K, value: &V, updated_at: Instant, duration_until_expiry: Option<Duration>, ) -> Option<Duration>
Specifies that the entry should be automatically removed from the cache once
the duration has elapsed after the replacement of its value. This method is
called for cache write methods such as
insert but only when the key is
already present in the cache. Read moreSource§impl<T> ExtensionArrayExt for Twhere
T: TypedArrayRef<Extension>,
impl<T> ExtensionArrayExt for Twhere
T: TypedArrayRef<Extension>,
fn ext_dtype(&self) -> &ExtDTypeRef
fn storage_array(&self) -> &ArrayRef
Source§impl<T> FSSTArrayExt for Twhere
T: TypedArrayRef<FSST>,
impl<T> FSSTArrayExt for Twhere
T: TypedArrayRef<FSST>,
fn uncompressed_lengths(&self) -> &ArrayRef
fn uncompressed_lengths_dtype(&self) -> &DType
Source§fn codes(&self) -> Array<VarBin>
fn codes(&self) -> Array<VarBin>
Reconstruct a
VarBinArray for the compressed codes by combining the bytes
from FSSTData with the offsets and validity stored in the array’s slots.Source§fn codes_dtype(&self) -> DType
fn codes_dtype(&self) -> DType
Get the DType of the codes array.
Source§impl<T> FilterArrayExt for Twhere
T: TypedArrayRef<Filter>,
impl<T> FilterArrayExt for Twhere
T: TypedArrayRef<Filter>,
Source§impl<T> FixedSizeListArrayExt for Twhere
T: TypedArrayRef<FixedSizeList>,
impl<T> FixedSizeListArrayExt for Twhere
T: TypedArrayRef<FixedSizeList>,
fn dtype_parts(&self) -> (&DType, u32, Nullability)
fn elements(&self) -> &ArrayRef
fn list_size(&self) -> u32
fn fixed_size_list_validity(&self) -> Validity
fn fixed_size_list_elements_at( &self, index: usize, ) -> Result<ArrayRef, VortexError>
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> FoRArrayExt for Twhere
T: TypedArrayRef<FoR>,
impl<T> FoRArrayExt for Twhere
T: TypedArrayRef<FoR>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> ListArrayExt for Twhere
T: TypedArrayRef<List>,
impl<T> ListArrayExt for Twhere
T: TypedArrayRef<List>,
fn nullability(&self) -> Nullability
fn elements(&self) -> &ArrayRef
fn offsets(&self) -> &ArrayRef
fn list_validity(&self) -> Validity
fn offset_at(&self, index: usize) -> Result<usize, VortexError>
fn list_elements_at(&self, index: usize) -> Result<ArrayRef, VortexError>
fn sliced_elements(&self) -> Result<ArrayRef, VortexError>
fn element_dtype(&self) -> &DType
fn reset_offsets(&self, recurse: bool) -> Result<Array<List>, VortexError>
Source§impl<T> ListViewArrayExt for Twhere
T: TypedArrayRef<ListView>,
impl<T> ListViewArrayExt for Twhere
T: TypedArrayRef<ListView>,
fn nullability(&self) -> Nullability
fn elements(&self) -> &ArrayRef
fn offsets(&self) -> &ArrayRef
fn sizes(&self) -> &ArrayRef
fn listview_validity(&self) -> Validity
fn offset_at(&self, index: usize) -> usize
fn size_at(&self, index: usize) -> usize
fn list_elements_at(&self, index: usize) -> Result<ArrayRef, VortexError>
fn verify_is_zero_copy_to_list(&self) -> bool
Source§fn compute_referenced_elements_mask(
&self,
ctx: &mut ExecutionCtx,
) -> Result<Mask, VortexError>
fn compute_referenced_elements_mask( &self, ctx: &mut ExecutionCtx, ) -> Result<Mask, VortexError>
Source§fn compute_density(&self, ctx: &mut ExecutionCtx) -> Result<f32, VortexError>
fn compute_density(&self, ctx: &mut ExecutionCtx) -> Result<f32, VortexError>
Source§fn upper_bound_density(
&self,
ctx: &mut ExecutionCtx,
) -> Result<f32, VortexError>
fn upper_bound_density( &self, ctx: &mut ExecutionCtx, ) -> Result<f32, VortexError>
Upper-bound estimate of
compute_density via
sum(sizes) / elements.len(), clamped to [0.0, 1.0]. Read moreSource§fn referenced_element_bounds(
&self,
ctx: &mut ExecutionCtx,
) -> Result<(usize, usize), VortexError>
fn referenced_element_bounds( &self, ctx: &mut ExecutionCtx, ) -> Result<(usize, usize), VortexError>
Returns the half-open range
[start, end) of elements indices referenced by any view:
the minimum offset and the maximum offset + size. Elements outside this range are
unreferenced leading or trailing slack that a
TrimElements rebuild would reclaim. Read moreSource§impl<T> MaskedArrayExt for Twhere
T: TypedArrayRef<Masked>,
impl<T> MaskedArrayExt for Twhere
T: TypedArrayRef<Masked>,
fn masked_validity(&self) -> Validity
Source§impl<T> MaskedArraySlotsExt for Twhere
T: TypedArrayRef<Masked>,
impl<T> MaskedArraySlotsExt for Twhere
T: TypedArrayRef<Masked>,
Source§impl<T> OnPairArrayExt for Twhere
T: OnPairArraySlotsExt,
impl<T> OnPairArrayExt for Twhere
T: OnPairArraySlotsExt,
fn array_validity(&self) -> Validity
Source§impl<T> OnPairArraySlotsExt for Twhere
T: TypedArrayRef<OnPair>,
impl<T> OnPairArraySlotsExt for Twhere
T: TypedArrayRef<OnPair>,
fn dict_offsets(&self) -> &ArrayRef
fn codes(&self) -> &ArrayRef
fn codes_offsets(&self) -> &ArrayRef
fn uncompressed_lengths(&self) -> &ArrayRef
fn validity(&self) -> Option<&ArrayRef>
Source§fn slots_view(&self) -> OnPairSlotsView<'_>
fn slots_view(&self) -> OnPairSlotsView<'_>
Returns a borrowed view of all slots.
Source§impl<T> PatchedArrayExt for Twhere
T: TypedArrayRef<Patched>,
impl<T> PatchedArrayExt for Twhere
T: TypedArrayRef<Patched>,
Source§impl<T> PatchedArraySlotsExt for Twhere
T: TypedArrayRef<Patched>,
impl<T> PatchedArraySlotsExt for Twhere
T: TypedArrayRef<Patched>,
fn inner(&self) -> &ArrayRef
fn lane_offsets(&self) -> &ArrayRef
fn patch_indices(&self) -> &ArrayRef
fn patch_values(&self) -> &ArrayRef
Source§fn slots_view(&self) -> PatchedSlotsView<'_>
fn slots_view(&self) -> PatchedSlotsView<'_>
Returns a borrowed view of all slots.
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PrimitiveArrayExt for Twhere
T: TypedArrayRef<Primitive>,
impl<T> PrimitiveArrayExt for Twhere
T: TypedArrayRef<Primitive>,
fn ptype(&self) -> PType
fn nullability(&self) -> Nullability
fn validity_child(&self) -> Option<&ArrayRef>
fn validity(&self) -> Validity
fn buffer_handle(&self) -> &BufferHandle
fn reinterpret_cast(&self, ptype: PType) -> Array<Primitive>
Source§fn narrow(
&self,
ctx: &mut ExecutionCtx,
) -> Result<Array<Primitive>, VortexError>
fn narrow( &self, ctx: &mut ExecutionCtx, ) -> Result<Array<Primitive>, VortexError>
Narrow the array to the smallest possible integer type that can represent all values.
Source§impl<T> RLEArrayExt for Twhere
T: TypedArrayRef<RLE>,
impl<T> RLEArrayExt for Twhere
T: TypedArrayRef<RLE>,
Source§impl<T> RunEndArrayExt for Twhere
T: TypedArrayRef<RunEnd>,
impl<T> RunEndArrayExt for Twhere
T: TypedArrayRef<RunEnd>,
Source§impl<T> ScalarFnArrayExt for Twhere
T: TypedArrayRef<ScalarFn>,
impl<T> ScalarFnArrayExt for Twhere
T: TypedArrayRef<ScalarFn>,
fn scalar_fn(&self) -> &ScalarFnRef
fn child_at(&self, idx: usize) -> &ArrayRef
fn child_count(&self) -> usize
fn nchildren(&self) -> usize
fn get_child(&self, idx: usize) -> &ArrayRef
fn iter_children(&self) -> impl Iterator<Item = &ArrayRef>
fn children(&self) -> Vec<ArrayRef>
fn source(&self) -> &ArrayRef
fn current_array_ref(&self) -> &ArrayRef
fn get_or_compute( &self, f: impl FnOnce(&ArrayRef) -> Result<Canonical, VortexError>, ) -> Result<ArrayRef, VortexError>
async fn get_or_compute_async<F, Fut>( &self, f: F, ) -> Result<ArrayRef, VortexError>
Source§impl<T> SliceArrayExt for Twhere
T: TypedArrayRef<Slice>,
impl<T> SliceArrayExt for Twhere
T: TypedArrayRef<Slice>,
Source§impl<T> SparseArraySlotsExt for Twhere
T: TypedArrayRef<Sparse>,
impl<T> SparseArraySlotsExt for Twhere
T: TypedArrayRef<Sparse>,
fn patch_indices(&self) -> &ArrayRef
fn patch_values(&self) -> &ArrayRef
fn patch_chunk_offsets(&self) -> Option<&ArrayRef>
Source§fn slots_view(&self) -> SparseSlotsView<'_>
fn slots_view(&self) -> SparseSlotsView<'_>
Returns a borrowed view of all slots.
Source§impl<T> StructArrayExt for Twhere
T: TypedArrayRef<Struct>,
impl<T> StructArrayExt for Twhere
T: TypedArrayRef<Struct>,
fn nullability(&self) -> Nullability
fn names(&self) -> &FieldNames
fn struct_validity(&self) -> Validity
fn iter_unmasked_fields(&self) -> impl Iterator<Item = &ArrayRef>
fn unmasked_fields(&self) -> Arc<[ArrayRef]> ⓘ
fn unmasked_field(&self, idx: usize) -> &ArrayRef
fn unmasked_field_by_name_opt(&self, name: impl AsRef<str>) -> Option<&ArrayRef>
fn unmasked_field_by_name( &self, name: impl AsRef<str>, ) -> Result<&ArrayRef, VortexError>
fn struct_fields(&self) -> &StructFields
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T> VarBinArrayExt for Twhere
T: TypedArrayRef<VarBin>,
impl<T> VarBinArrayExt for Twhere
T: TypedArrayRef<VarBin>,
fn offsets(&self) -> &ArrayRef
fn validity_child(&self) -> Option<&ArrayRef>
fn dtype_parts(&self) -> (bool, Nullability)
fn is_utf8(&self) -> bool
fn nullability(&self) -> Nullability
fn varbin_validity(&self) -> Validity
fn offset_at(&self, index: usize) -> usize
fn bytes_at(&self, index: usize) -> Buffer<u8>
fn sliced_bytes(&self) -> Buffer<u8>
Source§impl<T> VarBinViewArrayExt for Twhere
T: TypedArrayRef<VarBinView>,
impl<T> VarBinViewArrayExt for Twhere
T: TypedArrayRef<VarBinView>,
fn dtype_parts(&self) -> (bool, Nullability)
fn varbinview_validity(&self) -> Validity
Source§impl<T> VariantArrayExt for Twhere
T: TypedArrayRef<Variant>,
impl<T> VariantArrayExt for Twhere
T: TypedArrayRef<Variant>,
Source§fn core_storage(&self) -> &ArrayRef
fn core_storage(&self) -> &ArrayRef
Returns the logical variant storage that preserves the full value for every row.