ClickHouse/src/Parsers/ParserExplainQuery.h

21 lines
366 B
C++
Raw Normal View History

2020-06-22 13:26:55 +00:00
#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
class ParserExplainQuery : public IParserBase
{
protected:
2020-12-16 10:00:21 +00:00
const char * end;
2020-06-22 13:26:55 +00:00
const char * getName() const override { return "EXPLAIN"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
2020-12-16 10:00:21 +00:00
public:
explicit ParserExplainQuery(const char* end_) : end(end_) {}
2020-06-22 13:26:55 +00:00
};
}