pub struct ParallelGenericByteArray<T: ByteArrayType> { /* private fields */ }Implementations§
source§impl<T: ByteArrayType> ParallelGenericByteArray<T>
impl<T: ByteArrayType> ParallelGenericByteArray<T>
pub fn new(inner: GenericByteArray<T>) -> Self
pub fn into_inner(self) -> GenericByteArray<T>
Trait Implementations§
source§impl<T: ByteArrayType> Array for ParallelGenericByteArray<T>
impl<T: ByteArrayType> Array for ParallelGenericByteArray<T>
source§fn slice(&self, offset: usize, length: usize) -> ArrayRef
fn slice(&self, offset: usize, length: usize) -> ArrayRef
Returns a zero-copy slice of this array with the indicated offset and length. Read more
source§fn offset(&self) -> usize
fn offset(&self) -> usize
Returns the offset into the underlying data used by this array(-slice).
Note that the underlying data can be shared by many arrays.
This defaults to
0. Read moresource§fn nulls(&self) -> Option<&NullBuffer>
fn nulls(&self) -> Option<&NullBuffer>
Returns the null buffer of this array if any. Read more
source§fn get_buffer_memory_size(&self) -> usize
fn get_buffer_memory_size(&self) -> usize
Returns the total number of bytes of memory pointed to by this array.
The buffers store bytes in the Arrow memory format, and include the data as well as the validity map.
Note that this does not always correspond to the exact memory usage of an array,
since multiple arrays can share the same buffers or slices thereof.
source§fn get_array_memory_size(&self) -> usize
fn get_array_memory_size(&self) -> usize
Returns the total number of bytes of memory occupied physically by this array.
This value will always be greater than returned by
get_buffer_memory_size() and
includes the overhead of the data structures that contain the pointers to the various buffers.source§fn logical_nulls(&self) -> Option<NullBuffer>
fn logical_nulls(&self) -> Option<NullBuffer>
Returns a potentially computed
NullBuffer that represents the logical
null values of this array, if any. Read moresource§fn null_count(&self) -> usize
fn null_count(&self) -> usize
Returns the total number of physical null values in this array. Read more
source§fn is_nullable(&self) -> bool
fn is_nullable(&self) -> bool
Returns
false if the array is guaranteed to not contain any logical nulls Read moresource§impl<T: Clone + ByteArrayType> Clone for ParallelGenericByteArray<T>
impl<T: Clone + ByteArrayType> Clone for ParallelGenericByteArray<T>
source§fn clone(&self) -> ParallelGenericByteArray<T>
fn clone(&self) -> ParallelGenericByteArray<T>
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<T: ByteArrayType> Debug for ParallelGenericByteArray<T>
impl<T: ByteArrayType> Debug for ParallelGenericByteArray<T>
source§impl<T: ByteArrayType> From<GenericByteArray<T>> for ParallelGenericByteArray<T>
impl<T: ByteArrayType> From<GenericByteArray<T>> for ParallelGenericByteArray<T>
source§fn from(array: GenericByteArray<T>) -> Self
fn from(array: GenericByteArray<T>) -> Self
Converts to this type from the input type.
source§impl<T: ByteArrayType, Ptr: AsRef<T::Native> + Send> FromParallelIterator<Ptr> for ParallelGenericByteArray<T>
impl<T: ByteArrayType, Ptr: AsRef<T::Native> + Send> FromParallelIterator<Ptr> for ParallelGenericByteArray<T>
source§fn from_par_iter<I>(par_iter: I) -> Selfwhere
I: IntoParallelIterator<Item = Ptr>,
fn from_par_iter<I>(par_iter: I) -> Selfwhere
I: IntoParallelIterator<Item = Ptr>,
Creates an instance of the collection from the parallel iterator
par_iter. Read moreAuto Trait Implementations§
impl<T> Freeze for ParallelGenericByteArray<T>
impl<T> RefUnwindSafe for ParallelGenericByteArray<T>
impl<T> Send for ParallelGenericByteArray<T>
impl<T> Sync for ParallelGenericByteArray<T>
impl<T> Unpin for ParallelGenericByteArray<T>
impl<T> UnwindSafe for ParallelGenericByteArray<T>
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<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)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