ClickHouse/dbms/include/DB/Interpreters/InterpreterCheckQuery.h
2015-06-18 05:11:05 +03:00

23 lines
368 B
C++

#pragma once
#include <DB/Interpreters/Context.h>
#include <DB/Interpreters/IInterpreter.h>
#include <DB/Parsers/ASTIdentifier.h>
namespace DB
{
class InterpreterCheckQuery : public IInterpreter
{
public:
InterpreterCheckQuery(ASTPtr query_ptr_, Context & context_);
BlockIO execute() override;
private:
ASTPtr query_ptr;
Context context;
Block result;
};
}