mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
removed copy constructor and moved to private methid
This commit is contained in:
parent
c87f74c637
commit
9c3e80a774
@ -26,12 +26,9 @@ public:
|
||||
const String & username, const String & password,
|
||||
UInt16 clickhouse_port, bool treat_local_as_remote, bool secure = false);
|
||||
|
||||
Cluster(const Settings & settings, const Cluster &);
|
||||
|
||||
Cluster(const Cluster &)= delete;
|
||||
Cluster & operator=(const Cluster &) = delete;
|
||||
|
||||
|
||||
/// is used to set a limit on the size of the timeout
|
||||
static Poco::Timespan saturate(const Poco::Timespan & v, const Poco::Timespan & limit);
|
||||
|
||||
@ -167,6 +164,9 @@ private:
|
||||
/// For getClusterWithMultipleShards implementation.
|
||||
Cluster(const Cluster & from, const std::vector<size_t> & indices);
|
||||
|
||||
/// For getClusterWithReplicasAsShards implementation
|
||||
Cluster(const Settings & settings, const Cluster &);
|
||||
|
||||
String hash_of_addresses;
|
||||
/// Description of the cluster shards.
|
||||
ShardsInfo shards_info;
|
||||
|
Loading…
Reference in New Issue
Block a user