aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Formats/StructureToCapnProtoSchema.h
blob: b2a0a8a8cf9d95616e5e3fe481a849864094e78a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <IO/WriteBuffer.h>
#include <Core/NamesAndTypes.h>

namespace DB
{

struct StructureToCapnProtoSchema
{
    static constexpr auto name = "structureToCapnProtoSchema";

    static void writeSchema(WriteBuffer & buf, const String & message_name, const NamesAndTypesList & names_and_types_);
};

}