Home | History | Annotate | Download | only in leveldb

Lines Matching defs:Comparator

14 // A Comparator object provides a total order across slices that are
15 // used as keys in an sstable or a database. A Comparator implementation
18 class Comparator {
20 virtual ~Comparator();
28 // The name of the comparator. Used to check for comparator
29 // mismatches (i.e., a DB created with one comparator is
30 // accessed using a different comparator.
33 // the comparator implementation changes in a way that will cause
44 // Simple comparator implementations may return with *start unchanged,
51 // Simple comparator implementations may return with *key unchanged,
56 // Return a builtin comparator that uses lexicographic byte-wise
59 extern const Comparator* BytewiseComparator();