Public Member Functions | |
RocksDB (const string &source, Mode mode) | |
void | Close () override |
Closes the database. | |
unique_ptr< Cursor > | NewCursor () override |
Returns a cursor to read the database. More... | |
unique_ptr< Transaction > | NewTransaction () override |
Returns a transaction to write data to the database. More... | |
Public Member Functions inherited from caffe2::db::DB | |
DB (const string &source, Mode mode) | |
Additional Inherited Members | |
Protected Member Functions inherited from caffe2::db::DB | |
DISABLE_COPY_AND_ASSIGN (DB) | |
Protected Attributes inherited from caffe2::db::DB | |
Mode | mode_ |
Definition at line 56 of file rocksdb.cc.
|
inlineoverridevirtual |
Returns a cursor to read the database.
The caller takes the ownership of the pointer.
Implements caffe2::db::DB.
Definition at line 81 of file rocksdb.cc.
|
inlineoverridevirtual |
Returns a transaction to write data to the database.
The caller takes the ownership of the pointer.
Implements caffe2::db::DB.
Definition at line 84 of file rocksdb.cc.