pub struct SsTableIterator { /* private fields */ }Expand description
An iterator over the contents of an SSTable.
Implementations§
Source§impl SsTableIterator
impl SsTableIterator
Sourcepub fn create_and_seek_to_first(table: Arc<SsTable>) -> Result<Self>
pub fn create_and_seek_to_first(table: Arc<SsTable>) -> Result<Self>
Create a new iterator and seek to the first key-value pair.
Sourcepub fn seek_to_first(&mut self) -> Result<()>
pub fn seek_to_first(&mut self) -> Result<()>
Seek to the first key-value pair.
Sourcepub fn create_and_seek_to_key(
table: Arc<SsTable>,
key: KeySlice<'_>,
) -> Result<Self>
pub fn create_and_seek_to_key( table: Arc<SsTable>, key: KeySlice<'_>, ) -> Result<Self>
Create a new iterator and seek to the first key-value pair which >= key.
Sourcepub fn seek_to_key(&mut self, key: KeySlice<'_>) -> Result<()>
pub fn seek_to_key(&mut self, key: KeySlice<'_>) -> Result<()>
Seek to the first key-value pair which >= key.
Trait Implementations§
Source§impl StorageIterator for SsTableIterator
impl StorageIterator for SsTableIterator
Auto Trait Implementations§
impl Freeze for SsTableIterator
impl !RefUnwindSafe for SsTableIterator
impl Send for SsTableIterator
impl Sync for SsTableIterator
impl Unpin for SsTableIterator
impl !UnwindSafe for SsTableIterator
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