ClickHouse/dbms/src/Storages/IndicesDescription.h

22 lines
328 B
C++
Raw Normal View History

2019-01-20 17:49:53 +00:00
#pragma once
#include <Parsers/ASTIndexDeclaration.h>
namespace DB
{
using IndicesAsts = std::vector<std::shared_ptr<ASTIndexDeclaration>>;
struct IndicesDescription
{
IndicesAsts indices;
IndicesDescription() = default;
String toString() const;
static IndicesDescription parse(const String & str);
};
}