pub struct SizeTieredCompactionStrategyBuilder { /* private fields */ }Expand description
Builder for SizeTieredCompactionStrategy.
Implementations
sourceimpl SizeTieredCompactionStrategyBuilder
impl SizeTieredCompactionStrategyBuilder
pub fn enabled(&mut self, value: bool) -> &mut Self
pub fn tombstone_threshold(&mut self, value: f32) -> &mut Self
pub fn tombstone_compaction_interval(&mut self, value: i32) -> &mut Self
pub fn log_all(&mut self, value: bool) -> &mut Self
pub fn unchecked_tombstone_compaction(&mut self, value: bool) -> &mut Self
pub fn only_purge_repaired_tombstone(&mut self, value: bool) -> &mut Self
pub fn min_threshold(&mut self, value: i32) -> &mut Self
pub fn max_threshold(&mut self, value: i32) -> &mut Self
pub fn min_sstable_size(&mut self, value: i32) -> &mut Self
pub fn bucket_low(&mut self, value: f32) -> &mut Self
pub fn bucket_high(&mut self, value: f32) -> &mut Self
sourcepub fn build(
&self
) -> Result<SizeTieredCompactionStrategy, SizeTieredCompactionStrategyBuilderError>
pub fn build(
&self
) -> Result<SizeTieredCompactionStrategy, SizeTieredCompactionStrategyBuilderError>
Trait Implementations
sourceimpl Clone for SizeTieredCompactionStrategyBuilder
impl Clone for SizeTieredCompactionStrategyBuilder
sourcefn clone(&self) -> SizeTieredCompactionStrategyBuilder
fn clone(&self) -> SizeTieredCompactionStrategyBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for SizeTieredCompactionStrategyBuilder
impl Send for SizeTieredCompactionStrategyBuilder
impl Sync for SizeTieredCompactionStrategyBuilder
impl Unpin for SizeTieredCompactionStrategyBuilder
impl UnwindSafe for SizeTieredCompactionStrategyBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more