Struct rocksdb::BlockBasedOptions[][src]

pub struct BlockBasedOptions { /* fields omitted */ }

For configuring block-based file storage.

Methods

impl BlockBasedOptions
[src]

Defines the index type to be used for SS-table lookups.

Example

use rocksdb::{BlockBasedOptions, BlockBasedIndexType, Options};

let mut opts = Options::default();
let mut block_opts = BlockBasedOptions::default();
block_opts.set_index_type(BlockBasedIndexType::HashSearch);

Trait Implementations

impl Drop for BlockBasedOptions
[src]

Executes the destructor for this type. Read more

impl Default for BlockBasedOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations