pub struct IceDiskRelTableScanState {
pub stream: ParquetStreamReader,
pub current_batch: Vec<Vec<Value>>,
pub current_row: usize,
}Expand description
Scan state for IceDiskRelTable that streams rows on demand.
Instead of loading the entire Parquet file into a Vec<Vec<Value>>,
this state holds a streaming reader and buffers one batch at a time.
Fields§
§stream: ParquetStreamReader§current_batch: Vec<Vec<Value>>§current_row: usizeImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IceDiskRelTableScanState
impl !Sync for IceDiskRelTableScanState
impl !UnwindSafe for IceDiskRelTableScanState
impl Freeze for IceDiskRelTableScanState
impl Send for IceDiskRelTableScanState
impl Unpin for IceDiskRelTableScanState
impl UnsafeUnpin for IceDiskRelTableScanState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more