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

#include "fast_access_document_retriever.h"

namespace proton {

FastAccessDocumentRetriever::FastAccessDocumentRetriever(FastAccessFeedView::SP feedView, IAttributeManager::SP attrMgr)
    : DocumentRetriever(feedView->getPersistentParams()._docTypeName,
                        *feedView->getDocumentTypeRepo(),
                        *feedView->getSchema(),
                        *feedView->getDocumentMetaStore(),
                        *attrMgr,
                        feedView->getDocumentStore()),
      _feedView(std::move(feedView)),
      _attrMgr(std::move(attrMgr))
{ }

FastAccessDocumentRetriever::~FastAccessDocumentRetriever() = default;

}