ClickHouse/dbms/include/DB/Parsers/ParserCheckQuery.h

18 lines
364 B
C++
Raw Normal View History

2014-08-05 10:52:06 +00:00
#pragma once
2015-10-21 14:57:10 +00:00
#include <DB/Parsers/ParserQueryWithOutput.h>
2014-08-05 10:52:06 +00:00
namespace DB
{
/** Запрос вида
* CHECK [TABLE] [database.]table
*/
2015-10-21 14:57:10 +00:00
class ParserCheckQuery : public ParserQueryWithOutput
2014-08-05 10:52:06 +00:00
{
protected:
const char * getName() const { return "ALTER query"; }
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_pos, Expected & expected);
2014-08-05 10:52:06 +00:00
};
}