1#pragma once
2
3#include <Core/Types.h>
4
5#include <memory>
6#include <vector>
7
8namespace DB
9{
10
11class ASTIndexDeclaration;
12using IndicesASTs = std::vector<std::shared_ptr<ASTIndexDeclaration>>;
13
14struct IndicesDescription
15{
16 IndicesASTs indices;
17
18 IndicesDescription() = default;
19
20 bool empty() const;
21 bool has(const String & name) const;
22
23 String toString() const;
24 static IndicesDescription parse(const String & str);
25};
26
27}
28