Struct rocksdb::PlainTableFactoryOptions
source · pub struct PlainTableFactoryOptions {
pub user_key_length: u32,
pub bloom_bits_per_key: i32,
pub hash_table_ratio: f64,
pub index_sparseness: usize,
pub huge_page_tlb_size: usize,
pub encoding_type: KeyEncodingType,
pub full_scan_mode: bool,
pub store_index_in_file: bool,
}
Expand description
Used with DBOptions::set_plain_table_factory. See official wiki for more information.
Defaults: user_key_length: 0 (variable length) bloom_bits_per_key: 10 hash_table_ratio: 0.75 index_sparseness: 16 huge_page_tlb_size: 0 encoding_type: KeyEncodingType::Plain full_scan_mode: false store_index_in_file: false
Fields§
§user_key_length: u32
§bloom_bits_per_key: i32
§hash_table_ratio: f64
§index_sparseness: usize
§huge_page_tlb_size: usize
§encoding_type: KeyEncodingType
§full_scan_mode: bool
§store_index_in_file: bool
Auto Trait Implementations§
impl Freeze for PlainTableFactoryOptions
impl RefUnwindSafe for PlainTableFactoryOptions
impl Send for PlainTableFactoryOptions
impl Sync for PlainTableFactoryOptions
impl Unpin for PlainTableFactoryOptions
impl UnwindSafe for PlainTableFactoryOptions
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