Enum rocksdb::DataBlockIndexType[][src]

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

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

impl RefUnwindSafe for DataBlockIndexType

impl Send for DataBlockIndexType

impl Sync for DataBlockIndexType

impl Unpin for DataBlockIndexType

impl UnwindSafe for DataBlockIndexType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.