ByConity/programs/copier
Azat Khuzhin 5b3ab48861 More forward declaration for generic headers
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)

And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)

Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).

Approx results (How much units will be recompiled after changing file X?):

- ConnectionTimeouts.h
  - mainline: 100

- Context.h:
  - mainline: ~800
  - patched:  415

- Settings.h:
  - mainline: 900-1K
  - patched:  440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
..
Aliases.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Fix build with unbundled Poco 2020-05-09 01:22:12 +03:00
ClusterCopier.cpp More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
ClusterCopier.h More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
ClusterCopierApp.cpp More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
ClusterCopierApp.h Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
ClusterPartition.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
Internals.cpp remove more stringstreams 2020-11-10 21:22:26 +03:00
Internals.h try enable atomic database by default 2020-09-21 13:55:34 +03:00
ShardPartition.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
ShardPartitionPiece.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
TaskCluster.h More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
TaskTableAndShard.h remove more stringstreams 2020-11-10 21:22:26 +03:00
ZooKeeperStaff.h Avoid errors due to implicit int<->bool conversions when using ZK API 2020-06-12 18:09:12 +03:00
clickhouse-copier.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00