mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
26 lines
454 B
C++
26 lines
454 B
C++
#pragma once
|
|
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
|
|
class ParserExplainQuery : public IParserBase
|
|
{
|
|
public:
|
|
explicit ParserExplainQuery(bool enable_debug_queries_ = false)
|
|
: enable_debug_queries(enable_debug_queries_)
|
|
{
|
|
}
|
|
|
|
protected:
|
|
const char * getName() const override { return "EXPLAIN"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
|
|
|
private:
|
|
bool enable_debug_queries;
|
|
};
|
|
|
|
}
|