pub type Levels = LevelsCommon<SstableInfo>;Aliased Type§
pub struct Levels {
pub levels: Vec<LevelCommon<SstableInfo>>,
pub l0: OverlappingLevelCommon<SstableInfo>,
pub group_id: TypedId<10, u64>,
pub parent_group_id: TypedId<10, u64>,
pub member_table_ids: Vec<u32>,
pub compaction_group_version_id: u64,
}Fields§
§levels: Vec<LevelCommon<SstableInfo>>§l0: OverlappingLevelCommon<SstableInfo>§group_id: TypedId<10, u64>§parent_group_id: TypedId<10, u64>§member_table_ids: Vec<u32>👎Deprecated
§compaction_group_version_id: u64Implementations§
Source§impl Levels
impl Levels
pub(crate) fn apply_compact_ssts( &mut self, level_delta: &IntraLevelDeltaCommon<SstableInfo>, member_table_ids: &BTreeSet<TableId>, )
Sourcepub(crate) fn truncate_tables(&mut self, table_ids: &HashSet<TableId>)
pub(crate) fn truncate_tables(&mut self, table_ids: &HashSet<TableId>)
Truncate specified table ids from all levels, remove emptied SSTs and sub-levels,
then bump compaction_group_version_id.