aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Formats/StructureToProtobufSchema.h
blob: f4dfb0ae0c2ca18a4e6b612aeb6af695db568bdd (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 StructureToProtobufSchema
{
    static constexpr auto name = "structureToProtobufSchema";

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

}