mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
25 lines
384 B
C++
25 lines
384 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Interpreters/IInterpreter.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
class Context;
|
||
|
|
||
|
class InterpreterCreateIndexQuery : public IInterpreter, WithContext
|
||
|
{
|
||
|
public:
|
||
|
InterpreterCreateIndexQuery(const ASTPtr & query_ptr_, ContextPtr context_)
|
||
|
: WithContext(context_)
|
||
|
, query_ptr(query_ptr_) {}
|
||
|
|
||
|
BlockIO execute() override;
|
||
|
|
||
|
private:
|
||
|
ASTPtr query_ptr;
|
||
|
};
|
||
|
|
||
|
}
|