#[repr(C)]
pub enum DataBlockIndexType {
    BinarySearch,
    BinaryAndHash,
}
Expand description

Used by BlockBasedOptions::set_data_block_index_type.

Variants

BinarySearch

Use binary search when performing point lookup for keys in data blocks. This is the default.

BinaryAndHash

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.