MCPcopy Create free account
hub / github.com/apple/foundationdb / OrderByKey

Class OrderByKey

fdbclient/include/fdbclient/FDBTypes.h:426–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424 }
425
426 struct OrderByKey {
427 bool operator()(KeyValueRef const& a, KeyValueRef const& b) const { return a.key < b.key; }
428 template <class T>
429 bool operator()(T const& a, KeyValueRef const& b) const {
430 return a < b.key;
431 }
432 template <class T>
433 bool operator()(KeyValueRef const& a, T const& b) const {
434 return a.key < b;
435 }
436 };
437
438 struct OrderByKeyBack {
439 bool operator()(KeyValueRef const& a, KeyValueRef const& b) const { return a.key > b.key; }

Callers 7

skipMethod · 0.70
skipContiguousMethod · 0.70
skipContiguousBackMethod · 0.70
insertMethod · 0.70
getRangeAndCompareFunction · 0.50
lower_boundFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected