Struct rocksdb2::DB [] [src]

pub struct DB { /* fields omitted */ }

A RocksDB database.

See crate level documentation for a simple usage example.

Methods

impl DB
[src]

[src]

Open a database with default options.

[src]

Open the database with the specified options.

[src]

Open a database with specified options and column family.

A column family must be created first by calling DB::create_cf.

Panics

  • Panics if the column family doesn't exist.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Return the bytes associated with a key value

[src]

[src]

[src]

[src]

[src]

Return the underlying column family handle.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Send for DB
[src]

impl Sync for DB
[src]

impl Drop for DB
[src]

[src]

Executes the destructor for this type. Read more

impl Debug for DB
[src]

[src]

Formats the value using the given formatter.