aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/document_subdb_initializer_result.cpp
blob: 49aef8cb792e5ff516e56e00abb8943ff2eaf746 (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
25
26
27
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "document_subdb_initializer_result.h"

using searchcorespi::IIndexManager;

namespace proton {

DocumentSubDbInitializerResult::DocumentSubDbInitializerResult()
    : _documentMetaStore(std::make_shared<DocumentMetaStoreInitializerResult::SP>
                         ()),
      _summaryManager(std::make_shared<SummaryManager::SP>()),
      _attributeManager(std::make_shared<AttributeManager::SP>()),
      _indexManager(std::make_shared<IIndexManager::SP>()),
      _flushConfig()
{
}

void
DocumentSubDbInitializerResult::
setFlushConfig(const DocumentDBFlushConfig &flushConfig)
{
    _flushConfig = flushConfig;
}

} // namespace proton