pub struct LongArrayColumn<'a> { /* private fields */ }Expand description
LONG_ARRAY column: per-row n-D shape and flat little-endian i64
elements.
Implementations§
Source§impl<'a> LongArrayColumn<'a>
impl<'a> LongArrayColumn<'a>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn validity(&self) -> Validity<'a>
pub fn is_null(&self, row: usize) -> bool
pub fn shape(&self, row: usize) -> Option<&'a [u32]>
pub fn raw(&self, row: usize) -> Option<&'a [u8]>
pub fn element_count(&self, row: usize) -> usize
pub fn element(&self, row: usize, idx: usize) -> Option<i64>
Sourcepub fn data(&self) -> &'a [u8] ⓘ
pub fn data(&self) -> &'a [u8] ⓘ
Concatenated little-endian i64 element bytes for every row,
addressed per row by data_offsets.
Sourcepub fn data_offsets(&self) -> &'a [u32]
pub fn data_offsets(&self) -> &'a [u32]
Per-row byte offsets into data; len() + 1 entries,
row r spanning [data_offsets[r], data_offsets[r + 1]).
Sourcepub fn shapes(&self) -> &'a [u32]
pub fn shapes(&self) -> &'a [u32]
Concatenated per-row shapes (dimension lengths), addressed per row
by shape_offsets.
Sourcepub fn shape_offsets(&self) -> &'a [u32]
pub fn shape_offsets(&self) -> &'a [u32]
Per-row offsets into shapes; len() + 1 entries.
Trait Implementations§
Source§impl<'a> Clone for LongArrayColumn<'a>
impl<'a> Clone for LongArrayColumn<'a>
Source§fn clone(&self) -> LongArrayColumn<'a>
fn clone(&self) -> LongArrayColumn<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for LongArrayColumn<'a>
Auto Trait Implementations§
impl<'a> Freeze for LongArrayColumn<'a>
impl<'a> RefUnwindSafe for LongArrayColumn<'a>
impl<'a> Send for LongArrayColumn<'a>
impl<'a> Sync for LongArrayColumn<'a>
impl<'a> Unpin for LongArrayColumn<'a>
impl<'a> UnsafeUnpin for LongArrayColumn<'a>
impl<'a> UnwindSafe for LongArrayColumn<'a>
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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