mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
27 lines
752 B
C++
27 lines
752 B
C++
#pragma once
|
|
|
|
#include <DB/Interpreters/ClusterProxy/IQueryConstructor.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
namespace ClusterProxy
|
|
{
|
|
|
|
class DescribeQueryConstructor final : public IQueryConstructor
|
|
{
|
|
public:
|
|
DescribeQueryConstructor() = default;
|
|
|
|
BlockInputStreamPtr createLocal(ASTPtr query_ast, const Context & context, const Cluster::Address & address) override;
|
|
BlockInputStreamPtr createRemote(ConnectionPoolPtr & 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;
|
|
PoolMode getPoolMode() const override;
|
|
};
|
|
|
|
}
|
|
|
|
}
|