mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
28 lines
440 B
C++
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);
|
|
};
|
|
|
|
}
|