pub struct RowsParser<R: Read + Seek> { /* private fields */ }Expand description
Parser for Rows.db BTI index (clustering keys within a partition)
Implementations§
Source§impl<R: Read + Seek> RowsParser<R>
impl<R: Read + Seek> RowsParser<R>
Sourcepub fn lookup_row(
&mut self,
clustering_key: &[Value],
) -> BtiResult<Option<PayloadRef>>
pub fn lookup_row( &mut self, clustering_key: &[Value], ) -> BtiResult<Option<PayloadRef>>
Lookup row by clustering key
Sourcepub fn range_query(
&mut self,
start_key: &[Value],
end_key: &[Value],
) -> BtiResult<Vec<PayloadRef>>
pub fn range_query( &mut self, start_key: &[Value], end_key: &[Value], ) -> BtiResult<Vec<PayloadRef>>
Range query for clustering keys
Sourcepub fn iterate_rows(&mut self) -> BtiResult<RowIterator<'_, R>>
pub fn iterate_rows(&mut self) -> BtiResult<RowIterator<'_, R>>
Iterator over all rows in the index
Auto Trait Implementations§
impl<R> Freeze for RowsParser<R>where
R: Freeze,
impl<R> RefUnwindSafe for RowsParser<R>where
R: RefUnwindSafe,
impl<R> Send for RowsParser<R>where
R: Send,
impl<R> Sync for RowsParser<R>where
R: Sync,
impl<R> Unpin for RowsParser<R>where
R: Unpin,
impl<R> UnsafeUnpin for RowsParser<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for RowsParser<R>where
R: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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