#pragma once #include 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; }; }