pub struct ArrowRangeView<'a> { /* private fields */ }Expand description
A lightweight view over a rectangular range in an ArrowSheet.
Coordinates are 0-based and inclusive.
Implementations§
Source§impl<'a> ArrowRangeView<'a>
impl<'a> ArrowRangeView<'a>
Sourcepub fn sheet_name(&self) -> &str
pub fn sheet_name(&self) -> &str
Owning sheet name.
pub fn dims(&self) -> (usize, usize)
Sourcepub fn get_cell(&self, row: usize, col: usize) -> LiteralValue
pub fn get_cell(&self, row: usize, col: usize) -> LiteralValue
Returns a single cell value relative to this view (row/col 0-based). OOB returns Empty. Phase A: Date/Time/Duration come back as Number with the corresponding TypeTag preserved for higher layers.
Sourcepub fn row_chunk_slices(&self) -> Vec<ChunkSlice>
pub fn row_chunk_slices(&self) -> Vec<ChunkSlice>
Row-aligned chunk slices within this view. Each item represents a contiguous row segment that lies fully within a single row chunk.
Sourcepub fn iter_row_chunks(&'a self) -> impl Iterator<Item = ChunkSlice> + 'a
pub fn iter_row_chunks(&'a self) -> impl Iterator<Item = ChunkSlice> + 'a
Convenience iterator over row-aligned chunk slices.
Sourcepub fn numbers_slices(
&'a self,
) -> impl Iterator<Item = (usize, usize, Vec<Arc<Float64Array>>)> + 'a
pub fn numbers_slices( &'a self, ) -> impl Iterator<Item = (usize, usize, Vec<Arc<Float64Array>>)> + 'a
Typed numeric slices per row-segment: (row_start, row_len, per-column Float64 arrays)
Sourcepub fn booleans_slices(
&'a self,
) -> impl Iterator<Item = (usize, usize, Vec<Arc<BooleanArray>>)> + 'a
pub fn booleans_slices( &'a self, ) -> impl Iterator<Item = (usize, usize, Vec<Arc<BooleanArray>>)> + 'a
Typed boolean slices per row-segment, overlay-aware via zip.
Sourcepub fn text_slices(
&'a self,
) -> impl Iterator<Item = (usize, usize, Vec<ArrayRef>)> + 'a
pub fn text_slices( &'a self, ) -> impl Iterator<Item = (usize, usize, Vec<ArrayRef>)> + 'a
Text slices per row-segment (erased as ArrayRef for Utf8 today; future Dict/View support).
Sourcepub fn errors_slices(
&'a self,
) -> impl Iterator<Item = (usize, usize, Vec<Arc<UInt8Array>>)> + 'a
pub fn errors_slices( &'a self, ) -> impl Iterator<Item = (usize, usize, Vec<Arc<UInt8Array>>)> + 'a
Typed error-code slices per row-segment.
Sourcepub fn lowered_text_columns(&self) -> Vec<ArrayRef> ⓘ
pub fn lowered_text_columns(&self) -> Vec<ArrayRef> ⓘ
Build per-column concatenated lowered text arrays for this view. Uses per-chunk lowered cache for base text and merges overlays via zip_select.
Auto Trait Implementations§
impl<'a> Freeze for ArrowRangeView<'a>
impl<'a> !RefUnwindSafe for ArrowRangeView<'a>
impl<'a> Send for ArrowRangeView<'a>
impl<'a> Sync for ArrowRangeView<'a>
impl<'a> Unpin for ArrowRangeView<'a>
impl<'a> !UnwindSafe for ArrowRangeView<'a>
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
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>
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>
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