pub struct ScanIterator<'a> { /* private fields */ }Expand description
Iterator that reads rows from table storage.
This is the leaf node in the iterator tree, providing rows from the underlying storage layer.
Note: Currently unused due to lifetime constraints with SqlTransaction. Reserved for future true streaming execution when those constraints are resolved. The current implementation uses VecIterator after collecting all rows from scan.
Implementations§
Source§impl<'a> ScanIterator<'a>
impl<'a> ScanIterator<'a>
Sourcepub fn new(inner: TableScanIterator<'a>, table_meta: &TableMetadata) -> Self
pub fn new(inner: TableScanIterator<'a>, table_meta: &TableMetadata) -> Self
Creates a new scan iterator from a table scan iterator and metadata.
Trait Implementations§
Source§impl RowIterator for ScanIterator<'_>
impl RowIterator for ScanIterator<'_>
Auto Trait Implementations§
impl<'a> Freeze for ScanIterator<'a>
impl<'a> !RefUnwindSafe for ScanIterator<'a>
impl<'a> !Send for ScanIterator<'a>
impl<'a> !Sync for ScanIterator<'a>
impl<'a> Unpin for ScanIterator<'a>
impl<'a> !UnwindSafe for ScanIterator<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more