pub struct TableDeltas { /* private fields */ }Expand description
The sealed in-memory deltas captured with a ReadGeneration: memtable,
mutable-run tier, HOT primary-key index, and the reverse primary-key map.
Each is a post-seal clone — frozen layers are Arc-shared with the
writer, the active delta is empty — so capturing copies no row data, and
pinning the view keeps exactly the frozen layers it captured alive.
Implementations§
Source§impl TableDeltas
impl TableDeltas
Sourcepub fn approx_bytes(&self) -> u64
pub fn approx_bytes(&self) -> u64
Approximate heap bytes held by the captured memtable and mutable-run frozen deltas (diagnostics).
Sourcepub fn memtable_len(&self) -> usize
pub fn memtable_len(&self) -> usize
Row versions held in the captured memtable layers.
Sourcepub fn mutable_run_len(&self) -> usize
pub fn mutable_run_len(&self) -> usize
Row versions held in the captured mutable-run layers.
Sourcepub fn reverse_pk_len(&self) -> usize
pub fn reverse_pk_len(&self) -> usize
Reverse primary-key entries captured for HOT cleanup on deletes.
Trait Implementations§
Source§impl Clone for TableDeltas
impl Clone for TableDeltas
Source§fn clone(&self) -> TableDeltas
fn clone(&self) -> TableDeltas
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TableDeltas
impl RefUnwindSafe for TableDeltas
impl Send for TableDeltas
impl Sync for TableDeltas
impl Unpin for TableDeltas
impl UnsafeUnpin for TableDeltas
impl UnwindSafe for TableDeltas
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> 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