pub enum BitmapIndexDelta {
Repoint {
column_id: u16,
key: Vec<u8>,
},
Move {
column_id: u16,
old_key: Option<Vec<u8>>,
new_key: Option<Vec<u8>>,
},
}Expand description
One planned change against a single Bitmap secondary index column.
Variants§
Repoint
Indexed key unchanged: re-point old_row_id → new_row_id under key
when the ids differ; pure no-op when they are equal.
Move
Indexed key changed (or appeared/disappeared): drop old membership and insert new when present.
Trait Implementations§
Source§impl Clone for BitmapIndexDelta
impl Clone for BitmapIndexDelta
Source§fn clone(&self) -> BitmapIndexDelta
fn clone(&self) -> BitmapIndexDelta
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 moreSource§impl Debug for BitmapIndexDelta
impl Debug for BitmapIndexDelta
impl Eq for BitmapIndexDelta
Source§impl PartialEq for BitmapIndexDelta
impl PartialEq for BitmapIndexDelta
impl StructuralPartialEq for BitmapIndexDelta
Auto Trait Implementations§
impl Freeze for BitmapIndexDelta
impl RefUnwindSafe for BitmapIndexDelta
impl Send for BitmapIndexDelta
impl Sync for BitmapIndexDelta
impl Unpin for BitmapIndexDelta
impl UnsafeUnpin for BitmapIndexDelta
impl UnwindSafe for BitmapIndexDelta
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