GLnexus
Scalable datastore for population genome sequencing, with on-demand joint genotyping
 All Classes Functions Variables
Public Member Functions | List of all members
GLnexus::RocksKeyValue::Reader Class Reference
Inheritance diagram for GLnexus::RocksKeyValue::Reader:
GLnexus::KeyValue::Reader

Public Member Functions

 Reader (rocksdb::DB *db)
 
Status get (KeyValue::CollectionHandle _coll, const std::string &key, std::string &value) const override
 
Status iterator (KeyValue::CollectionHandle _coll, const std::string &key, std::unique_ptr< KeyValue::Iterator > &it) const override
 
- Public Member Functions inherited from GLnexus::KeyValue::Reader
virtual Status iterator (CollectionHandle coll, const std::string &key, std::unique_ptr< Iterator > &it) const =0
 

Member Function Documentation

Status GLnexus::RocksKeyValue::Reader::get ( KeyValue::CollectionHandle  coll,
const std::string &  key,
std::string &  value 
) const
inlineoverridevirtual

Get the value corresponding to the key and return OK. Return NotFound if no corresponding record exists in the collection, or any error code

Implements GLnexus::KeyValue::Reader.


The documentation for this class was generated from the following file: