ClickHouse/dbms/include/DB/Interpreters/ClusterProxy/AlterQueryConstructor.h
Alexey Milovidov 67a07205b7 Merge
2016-01-28 04:00:27 +03:00

27 lines
740 B
C++

#pragma once
#include <DB/Interpreters/ClusterProxy/IQueryConstructor.h>
namespace DB
{
namespace ClusterProxy
{
class AlterQueryConstructor final : public IQueryConstructor
{
public:
AlterQueryConstructor() = default;
BlockInputStreamPtr createLocal(ASTPtr query_ast, const Context & context, const Cluster::Address & address) override;
BlockInputStreamPtr createRemote(IConnectionPool * pool, const std::string & query,
const Settings & settings, ThrottlerPtr throttler, const Context & context) override;
BlockInputStreamPtr createRemote(ConnectionPoolsPtr & pools, const std::string & query,
const Settings & settings, ThrottlerPtr throttler, const Context & context) override;
bool isInclusive() const override;
};
}
}