ClickHouse/dbms/include/DB/Interpreters/InterpreterCheckQuery.h
2014-08-05 14:53:27 +04:00

23 lines
340 B
C++

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