Enum rocksdb::DataBlockIndexType
source · #[repr(C)]pub enum DataBlockIndexType {
BinarySearch = 0,
BinaryAndHash = 1,
}
Expand description
Used by BlockBasedOptions::set_data_block_index_type.
Variants§
BinarySearch = 0
Use binary search when performing point lookup for keys in data blocks. This is the default.
BinaryAndHash = 1
Appends a compact hash table to the end of the data block for efficient indexing. Backwards compatible with databases created without this feature. Once turned on, existing data will be gradually converted to the hash index format.
Auto Trait Implementations§
impl Freeze for DataBlockIndexType
impl RefUnwindSafe for DataBlockIndexType
impl Send for DataBlockIndexType
impl Sync for DataBlockIndexType
impl Unpin for DataBlockIndexType
impl UnwindSafe for DataBlockIndexType
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