ClickHouse/dbms/Storages/IndicesDescription.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

28 lines
440 B
C++

#pragma once
#include <Core/Types.h>
#include <memory>
#include <vector>
namespace DB
{
class ASTIndexDeclaration;
using IndicesASTs = std::vector<std::shared_ptr<ASTIndexDeclaration>>;
struct IndicesDescription
{
IndicesASTs indices;
IndicesDescription() = default;
bool empty() const;
bool has(const String & name) const;
String toString() const;
static IndicesDescription parse(const String & str);
};
}