aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/juniper/config.h
blob: 6db60c30203118de82523f4acfe2ff71f7b26e12 (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
28
29
30
31
32
33
34
35
36
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "juniperparams.h"
#include "dpinterface.h"

class IJuniperProperties;

namespace juniper
{

class IReducer;
class IExpander;
class Juniper;

class Config
{
public:
    Config(const char* config_name, const Juniper & juniper);
    ~Config();
    const char* GetProp(const char* name, const char* def);

    DocsumParams    _docsumparams;
    MatcherParams   _matcherparams;
    SummaryConfig * _sumconf;

private:
    std::string _config_name;
    const Juniper& _juniper;

    Config(Config &);
    Config &operator=(Config &);
};

} // end namespace juniper