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

#pragma once

namespace search::attribute { class Config; }

namespace proton
{

/**
 * Class to check if attribute types are compatible or not.
 */
class AttributeTypeMatcher
{
public:
    AttributeTypeMatcher() = default;
    ~AttributeTypeMatcher() = default;
    bool operator()(const search::attribute::Config &oldConfig,
                    const search::attribute::Config &newConfig) const;
};

}