pub struct CompactionPlan {
pub input_level: usize,
pub output_level: usize,
pub input_ids: Vec<u64>,
pub overlapping_output_ids: Vec<u64>,
}Expand description
A compaction plan selecting input tables and output level.
Fields§
§input_level: usizeInput level.
output_level: usizeOutput level (= input_level + 1).
input_ids: Vec<u64>SSTable IDs selected from input_level.
overlapping_output_ids: Vec<u64>SSTable IDs selected from output_level that overlap input key-range.
Trait Implementations§
Source§impl Clone for CompactionPlan
impl Clone for CompactionPlan
Source§fn clone(&self) -> CompactionPlan
fn clone(&self) -> CompactionPlan
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 CompactionPlan
impl Debug for CompactionPlan
impl Eq for CompactionPlan
Source§impl PartialEq for CompactionPlan
impl PartialEq for CompactionPlan
impl StructuralPartialEq for CompactionPlan
Auto Trait Implementations§
impl Freeze for CompactionPlan
impl RefUnwindSafe for CompactionPlan
impl Send for CompactionPlan
impl Sync for CompactionPlan
impl Unpin for CompactionPlan
impl UnsafeUnpin for CompactionPlan
impl UnwindSafe for CompactionPlan
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