pub struct ScanStreamOptions<P = MemPager>{
pub include_nulls: bool,
pub order: Option<ScanOrderSpec>,
pub row_id_filter: Option<Arc<dyn RowIdFilter<P>>>,
}Expand description
Options for configuring table scans.
These options control how rows are filtered, ordered, and materialized during scan operations.
Fields§
§include_nulls: boolWhether to include rows where all projected columns are null.
When false (default), rows with all-null projections are dropped before
batches are yielded. This is useful for sparse data where many rows may not
have values for the selected columns.
order: Option<ScanOrderSpec>Optional ordering to apply to results.
If specified, row IDs are sorted according to this specification before data is gathered into batches.
row_id_filter: Option<Arc<dyn RowIdFilter<P>>>Optional filter for row-level visibility (e.g., MVCC).
Applied after column-level predicates but before data is materialized. Used to enforce transaction isolation.
Trait Implementations§
Source§impl<P> Clone for ScanStreamOptions<P>
impl<P> Clone for ScanStreamOptions<P>
Source§impl<P> Debug for ScanStreamOptions<P>
impl<P> Debug for ScanStreamOptions<P>
Auto Trait Implementations§
impl<P> Freeze for ScanStreamOptions<P>
impl<P = MemPager> !RefUnwindSafe for ScanStreamOptions<P>
impl<P> Send for ScanStreamOptions<P>
impl<P> Sync for ScanStreamOptions<P>
impl<P> Unpin for ScanStreamOptions<P>
impl<P = MemPager> !UnwindSafe for ScanStreamOptions<P>
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§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