ArrowRangeView

Struct ArrowRangeView 

Source
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>

Source

pub fn start_row(&self) -> usize

Absolute 0-based start row of this view.

Source

pub fn end_row(&self) -> usize

Absolute 0-based end row of this view (inclusive).

Source

pub fn start_col(&self) -> usize

Absolute 0-based start column of this view.

Source

pub fn end_col(&self) -> usize

Absolute 0-based end column of this view (inclusive).

Source

pub fn sheet_name(&self) -> &str

Owning sheet name.

Source

pub fn dims(&self) -> (usize, usize)

Source

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.

Source

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.

Source

pub fn iter_row_chunks(&'a self) -> impl Iterator<Item = ChunkSlice> + 'a

Convenience iterator over row-aligned chunk slices.

Source

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)

Source

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.

Source

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).

Source

pub fn errors_slices( &'a self, ) -> impl Iterator<Item = (usize, usize, Vec<Arc<UInt8Array>>)> + 'a

Typed error-code slices per row-segment.

Source

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V