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.