blob: a0281926c62f55d8eb4ec467ca8e10582581a408 (
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
24
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "multivalueattributesaver.h"
#include "multi_value_mapping_base.h"
using vespalib::GenerationHandler;
namespace search {
MultiValueAttributeSaver::
MultiValueAttributeSaver(GenerationHandler::Guard &&guard,
const attribute::AttributeHeader &header,
const MvMappingBase &mvMapping)
: AttributeSaver(std::move(guard), header),
_frozenIndices(attribute::make_entry_ref_vector_snapshot(mvMapping.get_ref_vector(), header.getNumDocs()))
{
}
MultiValueAttributeSaver::~MultiValueAttributeSaver()
{
}
} // namespace search
|