ClickHouse/src/Parsers/ParserCheckQuery.h

18 lines
326 B
C++
Raw Normal View History

2014-08-05 10:52:06 +00:00
#pragma once
#include <Parsers/IParserBase.h>
2014-08-05 10:52:06 +00:00
namespace DB
{
2017-05-27 17:29:55 +00:00
/** Query of form
2014-08-05 10:52:06 +00:00
* CHECK [TABLE] [database.]table
*/
class ParserCheckQuery : public IParserBase
2014-08-05 10:52:06 +00:00
{
protected:
const char * getName() const override{ return "ALTER query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
2014-08-05 10:52:06 +00:00
};
}