pub struct TimeWindowCompactionStrategyBuilder { /* private fields */ }
Expand description
Builder for TimeWindowCompactionStrategy
.
Implementations§
Source§impl TimeWindowCompactionStrategyBuilder
impl TimeWindowCompactionStrategyBuilder
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 compaction_window_unit(&mut self, value: JavaTimeUnit) -> &mut Self
pub fn compaction_window_size(&mut self, value: i32) -> &mut Self
pub fn unsafe_aggressive_sstable_expiration(&mut self, value: bool) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<TimeWindowCompactionStrategy, TimeWindowCompactionStrategyBuilderError>
pub fn build( &self, ) -> Result<TimeWindowCompactionStrategy, TimeWindowCompactionStrategyBuilderError>
Trait Implementations§
Source§impl Clone for TimeWindowCompactionStrategyBuilder
impl Clone for TimeWindowCompactionStrategyBuilder
Source§fn clone(&self) -> TimeWindowCompactionStrategyBuilder
fn clone(&self) -> TimeWindowCompactionStrategyBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TimeWindowCompactionStrategyBuilder
impl RefUnwindSafe for TimeWindowCompactionStrategyBuilder
impl Send for TimeWindowCompactionStrategyBuilder
impl Sync for TimeWindowCompactionStrategyBuilder
impl Unpin for TimeWindowCompactionStrategyBuilder
impl UnwindSafe for TimeWindowCompactionStrategyBuilder
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