Trait TableOptionsExt

Source
pub trait TableOptionsExt {
Show 44 methods // Required methods fn table_opts(&self) -> &Option<TableOpts>; fn table_opts_mut(&mut self) -> &mut Option<TableOpts>; // Provided methods fn set_compact_storage(&mut self, compact_storage: bool) { ... } fn set_clustering_order(&mut self, clustering_order: Vec<ColumnOrder>) { ... } fn set_comment(&mut self, comment: &str) { ... } fn set_speculative_retry(&mut self, speculative_retry: SpeculativeRetry) { ... } fn set_change_data_capture(&mut self, cdc: bool) { ... } fn set_gc_grace_seconds(&mut self, gc_grace_seconds: i32) { ... } fn set_bloom_filter_fp_chance(&mut self, bloom_filter_fp_chance: f32) { ... } fn set_default_time_to_live(&mut self, default_time_to_live: i32) { ... } fn set_compaction(&mut self, compaction: impl CompactionType) { ... } fn set_compression(&mut self, compression: Compression) { ... } fn set_caching(&mut self, caching: Caching) { ... } fn set_memtable_flush_period_in_ms( &mut self, memtable_flush_period_in_ms: i32, ) { ... } fn set_read_repair(&mut self, read_repair: bool) { ... } fn set_additional_write_policy( &mut self, speculative_retry: SpeculativeRetry, ) { ... } fn with_compact_storage(self, compact_storage: bool) -> Self where Self: Sized { ... } fn with_clustering_order(self, clustering_order: Vec<ColumnOrder>) -> Self where Self: Sized { ... } fn with_comment(self, comment: &str) -> Self where Self: Sized { ... } fn with_speculative_retry(self, speculative_retry: SpeculativeRetry) -> Self where Self: Sized { ... } fn with_change_data_capture(self, cdc: bool) -> Self where Self: Sized { ... } fn with_additional_write_policy( self, speculative_retry: SpeculativeRetry, ) -> Self where Self: Sized { ... } fn with_gc_grace_seconds(self, gc_grace_seconds: i32) -> Self where Self: Sized { ... } fn with_bloom_filter_fp_chance(self, bloom_filter_fp_chance: f32) -> Self where Self: Sized { ... } fn with_default_time_to_live(self, default_time_to_live: i32) -> Self where Self: Sized { ... } fn with_compaction(self, compaction: impl CompactionType) -> Self where Self: Sized { ... } fn with_compression(self, compression: Compression) -> Self where Self: Sized { ... } fn with_caching(self, caching: Caching) -> Self where Self: Sized { ... } fn with_memtable_flush_period_in_ms( self, memtable_flush_period_in_ms: i32, ) -> Self where Self: Sized { ... } fn with_read_repair(self, read_repair: bool) -> Self where Self: Sized { ... } fn get_compact_storage(&self) -> Option<&bool> { ... } fn get_clustering_order(&self) -> Option<&Vec<ColumnOrder>> { ... } fn get_comment(&self) -> Option<&String> { ... } fn get_speculative_retry(&self) -> Option<&SpeculativeRetry> { ... } fn get_change_data_capture(&self) -> Option<bool> { ... } fn get_additional_write_policy(&self) -> Option<&SpeculativeRetry> { ... } fn get_gc_grace_seconds(&self) -> Option<i32> { ... } fn get_bloom_filter_fp_chance(&self) -> Option<f32> { ... } fn get_default_time_to_live(&self) -> Option<i32> { ... } fn get_compaction(&self) -> Option<&Compaction> { ... } fn get_compression(&self) -> Option<&Compression> { ... } fn get_caching(&self) -> Option<&Caching> { ... } fn get_memtable_flush_period_in_ms(&self) -> Option<i32> { ... } fn get_read_repair(&self) -> Option<bool> { ... }
}

Required Methods§

Provided Methods§

Source

fn set_compact_storage(&mut self, compact_storage: bool)

Source

fn set_clustering_order(&mut self, clustering_order: Vec<ColumnOrder>)

Source

fn set_comment(&mut self, comment: &str)

Source

fn set_speculative_retry(&mut self, speculative_retry: SpeculativeRetry)

Source

fn set_change_data_capture(&mut self, cdc: bool)

Source

fn set_gc_grace_seconds(&mut self, gc_grace_seconds: i32)

Source

fn set_bloom_filter_fp_chance(&mut self, bloom_filter_fp_chance: f32)

Source

fn set_default_time_to_live(&mut self, default_time_to_live: i32)

Source

fn set_compaction(&mut self, compaction: impl CompactionType)

Source

fn set_compression(&mut self, compression: Compression)

Source

fn set_caching(&mut self, caching: Caching)

Source

fn set_memtable_flush_period_in_ms(&mut self, memtable_flush_period_in_ms: i32)

Source

fn set_read_repair(&mut self, read_repair: bool)

Source

fn set_additional_write_policy(&mut self, speculative_retry: SpeculativeRetry)

Source

fn with_compact_storage(self, compact_storage: bool) -> Self
where Self: Sized,

Source

fn with_clustering_order(self, clustering_order: Vec<ColumnOrder>) -> Self
where Self: Sized,

Source

fn with_comment(self, comment: &str) -> Self
where Self: Sized,

Source

fn with_speculative_retry(self, speculative_retry: SpeculativeRetry) -> Self
where Self: Sized,

Source

fn with_change_data_capture(self, cdc: bool) -> Self
where Self: Sized,

Source

fn with_additional_write_policy( self, speculative_retry: SpeculativeRetry, ) -> Self
where Self: Sized,

Source

fn with_gc_grace_seconds(self, gc_grace_seconds: i32) -> Self
where Self: Sized,

Source

fn with_bloom_filter_fp_chance(self, bloom_filter_fp_chance: f32) -> Self
where Self: Sized,

Source

fn with_default_time_to_live(self, default_time_to_live: i32) -> Self
where Self: Sized,

Source

fn with_compaction(self, compaction: impl CompactionType) -> Self
where Self: Sized,

Source

fn with_compression(self, compression: Compression) -> Self
where Self: Sized,

Source

fn with_caching(self, caching: Caching) -> Self
where Self: Sized,

Source

fn with_memtable_flush_period_in_ms( self, memtable_flush_period_in_ms: i32, ) -> Self
where Self: Sized,

Source

fn with_read_repair(self, read_repair: bool) -> Self
where Self: Sized,

Source

fn get_compact_storage(&self) -> Option<&bool>

Source

fn get_clustering_order(&self) -> Option<&Vec<ColumnOrder>>

Source

fn get_comment(&self) -> Option<&String>

Source

fn get_speculative_retry(&self) -> Option<&SpeculativeRetry>

Source

fn get_change_data_capture(&self) -> Option<bool>

Source

fn get_additional_write_policy(&self) -> Option<&SpeculativeRetry>

Source

fn get_gc_grace_seconds(&self) -> Option<i32>

Source

fn get_bloom_filter_fp_chance(&self) -> Option<f32>

Source

fn get_default_time_to_live(&self) -> Option<i32>

Source

fn get_compaction(&self) -> Option<&Compaction>

Source

fn get_compression(&self) -> Option<&Compression>

Source

fn get_caching(&self) -> Option<&Caching>

Source

fn get_memtable_flush_period_in_ms(&self) -> Option<i32>

Source

fn get_read_repair(&self) -> Option<bool>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§