mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
24 lines
380 B
C++
24 lines
380 B
C++
#pragma once
|
|
|
|
#include <Parsers/ASTIndexDeclaration.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
using IndicesASTs = std::vector<std::shared_ptr<ASTIndexDeclaration>>;
|
|
|
|
struct IndicesDescription
|
|
{
|
|
IndicesASTs indices;
|
|
|
|
IndicesDescription() = default;
|
|
|
|
bool empty() const { return indices.empty(); }
|
|
String toString() const;
|
|
|
|
static IndicesDescription parse(const String & str);
|
|
};
|
|
|
|
}
|