ClickHouse/src/Dictionaries
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
..
Embedded Remove namespace pollution 2020-05-31 00:57:37 +03:00
tests Use global context for gtests 2020-11-18 21:24:58 +03:00
BucketCache.h Revert "Less number of threads in builder" 2020-09-03 01:00:41 +03:00
CacheDictionary_generate1.cpp better 2020-11-17 16:59:13 +03:00
CacheDictionary_generate2.cpp add normal parent 2020-11-17 16:59:12 +03:00
CacheDictionary_generate3.cpp add normal parent 2020-11-17 16:59:12 +03:00
CacheDictionary.cpp fix build 2020-11-18 17:28:38 +03:00
CacheDictionary.h better code 2020-11-18 16:58:28 +03:00
CacheDictionary.inc.h style + flaky test fix 2020-11-17 17:36:04 +03:00
CassandraBlockInputStream.cpp MySql datatypes dateTime64 and decimal (#11512) 2020-09-09 15:18:02 +03:00
CassandraBlockInputStream.h fix gcc warnings 2020-06-04 16:03:06 +03:00
CassandraDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
CassandraDictionarySource.h fix gcc warnings 2020-06-04 16:03:06 +03:00
CassandraHelpers.cpp cleenup 2020-06-04 00:11:17 +03:00
CassandraHelpers.h try fix sync 2020-06-04 16:59:12 +03:00
ClickHouseDictionarySource.cpp Remove redundant anon namespace in ClickHouseDictionarySource.cpp 2020-11-14 18:23:48 +03:00
ClickHouseDictionarySource.h Default host, port and user parameters for source(clickhouse(...)) 2020-11-14 16:44:45 +03:00
CMakeLists.txt Remove libbtrie 2020-11-21 21:31:15 +03:00
ComplexKeyCacheDictionary_createAttributeWithType.cpp
ComplexKeyCacheDictionary_generate1.cpp add StorageID to IDictionaryBase 2 2020-07-14 22:18:33 +03:00
ComplexKeyCacheDictionary_generate2.cpp add StorageID to IDictionaryBase 2 2020-07-14 22:18:33 +03:00
ComplexKeyCacheDictionary_generate3.cpp add StorageID to IDictionaryBase 2 2020-07-14 22:18:33 +03:00
ComplexKeyCacheDictionary_setAttributeValue.cpp
ComplexKeyCacheDictionary_setDefaultAttributeValue.cpp
ComplexKeyCacheDictionary.cpp add StorageID to IDictionaryBase 3 2020-07-14 22:19:17 +03:00
ComplexKeyCacheDictionary.h Addition to prev. revision 2020-11-06 20:40:11 +03:00
ComplexKeyDirectDictionary.cpp allow to use direct layout for dictionaries with complex keys 2020-10-15 14:59:41 +03:00
ComplexKeyDirectDictionary.h rename database with dictionaries 2020-07-16 17:25:39 +03:00
ComplexKeyHashedDictionary.cpp add StorageID to IDictionaryBase 3 2020-07-14 22:19:17 +03:00
ComplexKeyHashedDictionary.h rename database with dictionaries 2020-07-16 17:25:39 +03:00
DictionaryBlockInputStream.h
DictionaryBlockInputStreamBase.cpp
DictionaryBlockInputStreamBase.h
DictionaryFactory.cpp Refactor IFunction to execute with const arguments 2020-11-17 16:24:45 +03:00
DictionaryFactory.h
DictionarySourceFactory.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
DictionarySourceFactory.h Fix typo 2020-08-15 06:28:48 +03:00
DictionarySourceHelpers.cpp
DictionarySourceHelpers.h
DictionaryStructure.cpp remove other stringstreams 2020-11-09 22:12:44 +03:00
DictionaryStructure.h Merge branch 'master' into database_atomic_improvements 2020-07-31 14:56:49 +03:00
DirectDictionary.cpp add StorageID to IDictionaryBase 3 2020-07-14 22:19:17 +03:00
DirectDictionary.h rename database with dictionaries 2020-07-16 17:25:39 +03:00
ExecutableDictionarySource.cpp Whitespace 2020-10-09 22:33:23 +03:00
ExecutableDictionarySource.h Update ExecutableDictionarySource.h 2020-09-07 09:44:32 +03:00
ExternalQueryBuilder.cpp Better check for tuple size in complex key external dictionaries 2020-09-01 01:55:52 +03:00
ExternalQueryBuilder.h Don't split dictionary source's table name into schema and table name itself 2020-07-06 23:41:39 +03:00
FileDictionarySource.cpp Remove unused headers 2020-12-08 02:10:22 +03:00
FileDictionarySource.h
FlatDictionary.cpp add StorageID to IDictionaryBase 3 2020-07-14 22:19:17 +03:00
FlatDictionary.h rename database with dictionaries 2020-07-16 17:25:39 +03:00
getDictionaryConfigurationFromAST.cpp ANTLR4 Grammar for ClickHouse and new parser (#11298) 2020-12-04 05:15:44 +03:00
getDictionaryConfigurationFromAST.h Implement tcpPort() function literal 2020-11-17 16:24:13 +03:00
HashedDictionary.cpp Add ability to preallocate hashtables for hashed/sparsehashed dictionaries 2020-10-09 22:28:14 +03:00
HashedDictionary.h Add ability to preallocate hashtables for hashed/sparsehashed dictionaries 2020-10-09 22:28:14 +03:00
HTTPDictionarySource.cpp More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
HTTPDictionarySource.h
IDictionary.h fixes 2020-07-17 16:11:44 +03:00
IDictionarySource.h
IPAddressDictionary.cpp IP dictionary works with aliased types IPv4 and IPv6 (close #6804) 2020-11-28 23:12:19 +03:00
IPAddressDictionary.h Rename TrieDictionary -> IPAddressDictionary 2020-11-21 21:38:10 +03:00
LibraryDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
LibraryDictionarySource.h
LibraryDictionarySourceExternal.cpp Remove namespace pollution 2020-05-31 00:57:37 +03:00
LibraryDictionarySourceExternal.h
MongoDBDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
MongoDBDictionarySource.h Fixes 2020-06-26 17:28:00 +03:00
MySQLDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
MySQLDictionarySource.h
PolygonDictionary.cpp Merge branch 'master' into database_atomic_improvements 2020-07-31 14:56:49 +03:00
PolygonDictionary.h Merge branch 'master' into database_atomic_improvements 2020-07-31 14:56:49 +03:00
PolygonDictionaryImplementations.cpp Merge with master 2020-07-31 15:25:17 +03:00
PolygonDictionaryImplementations.h Merge with master 2020-07-31 15:25:17 +03:00
PolygonDictionaryUtils.cpp Fix half of typos 2020-08-08 03:47:03 +03:00
PolygonDictionaryUtils.h Try speedup build (#14809) 2020-09-15 12:55:57 +03:00
RangeDictionaryBlockInputStream.h
RangeHashedDictionary.cpp add uuid to generated config 2020-07-14 23:32:13 +03:00
RangeHashedDictionary.h rename database with dictionaries 2020-07-16 17:25:39 +03:00
readInvalidateQuery.cpp
readInvalidateQuery.h
RedisBlockInputStream.cpp MySql datatypes dateTime64 and decimal (#11512) 2020-09-09 15:18:02 +03:00
RedisBlockInputStream.h
RedisDictionarySource.cpp add support of cache layout for redis dictionaries with complex key 2020-10-14 22:57:07 +03:00
RedisDictionarySource.h add support of cache layout for redis dictionaries with complex key 2020-10-14 22:57:07 +03:00
registerDictionaries.cpp Update registerDictionaries.cpp 2020-11-25 16:27:10 +03:00
registerDictionaries.h Merge branch 'nikvas0/ssd_dict' of git://github.com/nikvas0/ClickHouse into merging-ssh-cache 2020-06-24 16:45:18 +03:00
SSDCacheDictionary.cpp Rethrow copy of exception in SSD dictionaries 2020-09-22 18:54:11 +03:00
SSDCacheDictionary.h Add support for extended precision integers and decimals (#13097) 2020-08-19 14:52:17 +03:00
SSDComplexKeyCacheDictionary.cpp Remove wrong assertion from SSDComplexKeyCacheDictionary 2020-10-30 12:36:46 +03:00
SSDComplexKeyCacheDictionary.h Better check for tuple size in complex key external dictionaries 2020-09-01 01:55:52 +03:00
writeParenthesisedString.cpp
writeParenthesisedString.h
XDBCDictionarySource.cpp More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
XDBCDictionarySource.h Don't split dictionary source's table name into schema and table name itself 2020-07-06 23:41:39 +03:00
ya.make Regenerate ya.make, add format null to ip_trie.xml 2020-11-24 11:20:11 +03:00
ya.make.in Follow Arcadia ya.make rules 2020-11-16 21:24:58 +03:00