mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
os/KeyValueDB: Add raw_key() interface for IteratorImpl
raw_key() is useful to split out the prefix. Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
This commit is contained in:
parent
b595aac4e1
commit
c86410239b
@ -160,6 +160,9 @@ public:
|
||||
string key() {
|
||||
return generic_iter->key();
|
||||
}
|
||||
pair<string, string> raw_key() {
|
||||
return generic_iter->raw_key();
|
||||
}
|
||||
bufferlist value() {
|
||||
return generic_iter->value();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user