aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/attribute/configconverter.h
blob: 6f2b8812a80389f2643b86d73cffb764ea074f38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "attributevector.h"
#include <vespa/config-attributes.h>

namespace search::attribute {

/**
 * Class used to convert from attributes config to the config used by the AttributeVector implementation.
 **/
class ConfigConverter {
public:
    static Config convert(const vespa::config::search::AttributesConfig::Attribute & cfg);
};

}