fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
322 B
19 lines
322 B
12 years ago
|
#ifndef MERGE_OPERATORS_H
|
||
|
#define MERGE_OPERATORS_H
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
#include "leveldb/merge_operator.h"
|
||
|
|
||
|
namespace leveldb {
|
||
|
|
||
|
class MergeOperators {
|
||
|
public:
|
||
|
static std::shared_ptr<leveldb::MergeOperator> CreatePutOperator();
|
||
|
static std::shared_ptr<leveldb::MergeOperator> CreateUInt64AddOperator();
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|