ClickHouse/dbms/src/Storages/IndicesDescription.h
Nikita Vasilev 5279c7ff81 setting
2019-02-12 20:54:52 +03:00

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);
};
}