Enum rocksdb::BlockBasedIndexType
source · pub enum BlockBasedIndexType {
BinarySearch,
HashSearch,
TwoLevelIndexSearch,
}
Expand description
Used by BlockBasedOptions::set_index_type.
Variants§
BinarySearch
A space efficient index block that is optimized for binary-search-based index.
HashSearch
The hash index, if enabled, will perform a hash lookup if a prefix extractor has been provided through Options::set_prefix_extractor.
TwoLevelIndexSearch
A two-level index implementation. Both levels are binary search indexes.
Auto Trait Implementations§
impl Freeze for BlockBasedIndexType
impl RefUnwindSafe for BlockBasedIndexType
impl Send for BlockBasedIndexType
impl Sync for BlockBasedIndexType
impl Unpin for BlockBasedIndexType
impl UnwindSafe for BlockBasedIndexType
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