ClickHouse/src/Interpreters/InterpreterCheckQuery.h

24 lines
359 B
C++
Raw Normal View History

2014-08-05 10:52:06 +00:00
#pragma once
#include <Core/Block.h>
#include <Interpreters/IInterpreter.h>
#include <Parsers/IAST_fwd.h>
2014-08-05 10:52:06 +00:00
namespace DB
{
class Cluster;
2017-05-23 18:01:50 +00:00
class InterpreterCheckQuery : public IInterpreter, WithContext
2014-08-05 10:52:06 +00:00
{
public:
InterpreterCheckQuery(const ASTPtr & query_ptr_, ContextPtr context_);
BlockIO execute() override;
2014-08-05 10:52:06 +00:00
private:
ASTPtr query_ptr;
2014-08-05 10:52:06 +00:00
};
}