blob: 27857c816bd9080df0e91cbb7e3f04bf744434af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <sys/types.h>
namespace document {
class FieldValue;
struct FieldValueWriter {
virtual ~FieldValueWriter() {}
virtual void writeFieldValue(const FieldValue &value) = 0;
virtual void writeSerializedData(const void *buf, size_t length) = 0;
};
} // namespace document
|