ClickHouse/src/Parsers/ParserCheckQuery.h
2020-04-03 18:14:31 +03:00

18 lines
326 B
C++

#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Query of form
* CHECK [TABLE] [database.]table
*/
class ParserCheckQuery : public IParserBase
{
protected:
const char * getName() const override{ return "ALTER query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}