mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
21 lines
390 B
C++
21 lines
390 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Interpreters/IInterpreter.h>
|
||
|
#include <Parsers/IAST_fwd.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
class InterpreterBackupQuery : public IInterpreter
|
||
|
{
|
||
|
public:
|
||
|
InterpreterBackupQuery(const ASTPtr & query_ptr_, ContextMutablePtr context_) : query_ptr(query_ptr_), context(context_) {}
|
||
|
|
||
|
BlockIO execute() override;
|
||
|
|
||
|
private:
|
||
|
ASTPtr query_ptr;
|
||
|
ContextMutablePtr context;
|
||
|
};
|
||
|
}
|