Modules§
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
- DBMap
Table Config Map - DBOptions
- Database
- Metric
Conf - Read
Write Options - RocksDB
- Staged
Batch - A write batch that stores serialized operations in a flat byte buffer without
requiring a database reference. Can be replayed into a real
DBBatchviaDBBatch::concat. TOOD: this can be deleted when we upgrade rust-rocksdb, which supports iterating over write batches.
Enums§
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