aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/fast_access_document_retriever.cpp
blob: e0d1fc48048fd94c8be109166528d7d55f9a35f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. 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;

}