ClickHouse/dbms/src/Parsers/ParserTablePropertiesQuery.h
2019-10-08 15:34:04 +03:00

20 lines
427 B
C++

#pragma once
#include <Parsers/IParserBase.h>
#include <Parsers/ExpressionElementParsers.h>
namespace DB
{
/** Query (EXISTS | SHOW CREATE) [TABLE|DICTIONARY] [db.]name [FORMAT format]
*/
class ParserTablePropertiesQuery : public IParserBase
{
protected:
const char * getName() const override { return "EXISTS or SHOW CREATE query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}