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

#include <base/types.h>
#include <memory>

namespace DB
{

struct IAccessEntity;
using AccessEntityPtr = std::shared_ptr<const IAccessEntity>;

String serializeAccessEntity(const IAccessEntity & entity);

AccessEntityPtr deserializeAccessEntity(const String & definition, const String & file_path = "");

}