aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_gid_key_comparator.cpp
blob: fe80cc1f70df5257724cce004c5c7c219459cb0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "lid_gid_key_comparator.h"

namespace proton::documentmetastore {

LidGidKeyComparator::LidGidKeyComparator(const document::GlobalId &gid,
                                         UnboundMetaDataView metaDataView)
    : _gid(gid),
      _metaDataView(metaDataView),
      _gidCompare()
{
}

LidGidKeyComparator::LidGidKeyComparator(const RawDocumentMetaData &metaData,
                                         UnboundMetaDataView metaDataView)
    : _gid(metaData.getGid()),
      _metaDataView(metaDataView),
      _gidCompare()
{
}

}