risingwave_hummock_sdk::level

Type Alias Levels

source
pub type Levels = LevelsCommon<SstableInfo>;

Aliased Type§

struct Levels {
    pub levels: Vec<LevelCommon<SstableInfo>>,
    pub l0: OverlappingLevelCommon<SstableInfo>,
    pub group_id: u64,
    pub parent_group_id: u64,
    pub member_table_ids: Vec<u32>,
}

Fields§

§levels: Vec<LevelCommon<SstableInfo>>§l0: OverlappingLevelCommon<SstableInfo>§group_id: u64§parent_group_id: u64§member_table_ids: Vec<u32>
👎Deprecated

Implementations§

source§

impl Levels

source

pub(crate) fn apply_compact_ssts( &mut self, level_delta: &IntraLevelDeltaCommon<SstableInfo>, member_table_ids: &BTreeSet<TableId>, )

source

pub(crate) fn post_apply_l0_compact(&mut self)

source

pub fn check_sst_ids_exist( &self, level_idx_to_check: &[u32], sst_ids: HashSet<u64>, ) -> bool

source§

impl Levels

source

pub fn level0(&self) -> &OverlappingLevel

source

pub fn get_level(&self, level_idx: usize) -> &Level

source

pub fn get_level_mut(&mut self, level_idx: usize) -> &mut Level

source

pub fn is_last_level(&self, level_idx: u32) -> bool

source

pub fn count_ssts(&self) -> usize

source§

impl Levels