summaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/searchsummary/docsummary/summaryfeaturesdfw.h
blob: fd1092f840a0e838ffa8b283c31c4725150913f0 (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 Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "simple_dfw.h"

namespace search::docsummary {

class IDocsumEnvironment;

class SummaryFeaturesDFW : public SimpleDFW
{
public:
    SummaryFeaturesDFW();
    SummaryFeaturesDFW(const SummaryFeaturesDFW &) = delete;
    SummaryFeaturesDFW & operator=(const SummaryFeaturesDFW &) = delete;
    ~SummaryFeaturesDFW() override;
    bool IsGenerated() const override { return true; }
    void insertField(uint32_t docid, GetDocsumsState *state,
                     ResType type, vespalib::slime::Inserter &target) const override;
};

}