Module rocks::db [] [src]

A DB is a persistent ordered map from keys to values.

Structs

ColumnFamilyDescriptor
ColumnFamilyHandle

Handle for a opened column family

DB

A DB is a persistent ordered map from keys to values.

Traits

ToCompactRange

Functions

destroy_db

Destroy the contents of the specified database.

repair_db

If a DB cannot be opened, you may attempt to call this method to resurrect as much of the contents of the database as possible. Some data may be lost, so be careful when calling this function on a database that contains important information.

repair_db_all_cfs

options These options will be used for the database and for ALL column families encountered during the repair.

repair_db_with_unknown_cf_opts

unknown_cf_opts Options for column families encountered during the repair that were not specified in column_families.