|
OpenCBDC Transaction Processor
|
LevelDB comparator for ordering NuRaft log indices. More...
#include <index_comparator.hpp>


Public Member Functions | |
| auto | Compare (const leveldb::Slice &a, const leveldb::Slice &b) const -> int override |
| Compare the order of the two given LevelDB keys when converted to uint64_t. | |
| auto | Name () const -> const char *override |
| Return the comparator name. | |
| void | FindShortestSeparator (std::string *, const leveldb::Slice &) const override |
| Not implemented. | |
| void | FindShortSuccessor (std::string *) const override |
| Not implemented. | |
LevelDB comparator for ordering NuRaft log indices.
Definition at line 13 of file index_comparator.hpp.
|
nodiscardoverride |
Compare the order of the two given LevelDB keys when converted to uint64_t.
| a | first key. |
| b | second key. |
Definition at line 13 of file index_comparator.cpp.
|
override |
Not implemented.
Definition at line 35 of file index_comparator.cpp.
|
override |
Not implemented.
Definition at line 39 of file index_comparator.cpp.
|
nodiscardoverride |
Return the comparator name.
Definition at line 31 of file index_comparator.cpp.