Module rocks

Module rocks 

Source

Modules§

errors

Structs§

DBBatch
Provides a mutable struct to form a collection of database write operations, and execute them.
DBMap
An interface to a rocksDB database, keyed by a columnfamily
DBMapTableConfigMap
DBOptions
Database
MetricConf
ReadWriteOptions
RocksDB
StagedBatch
A write batch that stores serialized operations in a flat byte buffer without requiring a database reference. Can be replayed into a real DBBatch via DBBatch::concat. TOOD: this can be deleted when we upgrade rust-rocksdb, which supports iterating over write batches.

Enums§

ColumnFamily
Storage
StorageWriteBatch

Functions§

default_db_options
Creates a default RocksDB option, to be used when RocksDB option is unspecified.
init_write_sync
Initialize the write sync setting from config. Must be called before any database writes occur.
open_cf_opts
Opens a database with options, and a number of column families with individual options that are created if they do not exist.
open_cf_opts_secondary
Opens a database with options, and a number of column families with individual options that are created if they do not exist.
read_size_from_env
safe_drop_db