blob: ee2e8e54eab69a774e9a253375113de0a3a865f5 (
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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/stllike/string.h>
#include <memory>
namespace proton {
/**
* Interface used to inspect which fields are present in a document type.
*/
struct IDocumentTypeInspector
{
using SP = std::shared_ptr<IDocumentTypeInspector>;
virtual ~IDocumentTypeInspector() =default;
virtual bool hasUnchangedField(const vespalib::string &name) const = 0;
};
} // namespace proton
|