summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-08-09 11:12:48 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-08-09 11:12:48 +0200
commit8c1342aa1d22c0df14e1f427eebb77730aade831 (patch)
tree3a81794371e49bed97bc9514f60bc90fb931b384 /vespalib
parent2576aa6c4fc340200d5ff60a98f793d5fd026f8a (diff)
Add class comment.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/datastore/unique_store_comparator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/unique_store_comparator.h b/vespalib/src/vespa/vespalib/datastore/unique_store_comparator.h
index e71ce973f29..bae42c5fe05 100644
--- a/vespalib/src/vespa/vespalib/datastore/unique_store_comparator.h
+++ b/vespalib/src/vespa/vespalib/datastore/unique_store_comparator.h
@@ -7,6 +7,11 @@
namespace search::datastore {
+/*
+ * Compare two entries based on entry refs. Valid entry ref is mapped
+ * to an entry in a data store. Invalid entry ref is mapped to a
+ * temporary entry referenced by comparator instance.
+ */
template <typename EntryT, typename RefT>
class UniqueStoreComparator : public EntryComparator {
using EntryType = EntryT;