mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
c9c8c8ec50
* Better support for disabling libmysqlclient [#CLICKHOUSE-2]. * Addition to prev. revision [#CLICKHOUSE-2]. * Addition to prev. revision [#CLICKHOUSE-2].
31 lines
1.0 KiB
C++
31 lines
1.0 KiB
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionsEmbeddedDictionaries.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerFunctionsEmbeddedDictionaries(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionRegionToCity>();
|
|
factory.registerFunction<FunctionRegionToArea>();
|
|
factory.registerFunction<FunctionRegionToDistrict>();
|
|
factory.registerFunction<FunctionRegionToCountry>();
|
|
factory.registerFunction<FunctionRegionToContinent>();
|
|
factory.registerFunction<FunctionRegionToTopContinent>();
|
|
factory.registerFunction<FunctionRegionToPopulation>();
|
|
factory.registerFunction<FunctionRegionIn>();
|
|
factory.registerFunction<FunctionRegionHierarchy>();
|
|
factory.registerFunction<FunctionRegionToName>();
|
|
|
|
#if USE_MYSQL
|
|
factory.registerFunction<FunctionOSToRoot>();
|
|
factory.registerFunction<FunctionSEToRoot>();
|
|
factory.registerFunction<FunctionOSIn>();
|
|
factory.registerFunction<FunctionSEIn>();
|
|
factory.registerFunction<FunctionOSHierarchy>();
|
|
factory.registerFunction<FunctionSEHierarchy>();
|
|
#endif
|
|
}
|
|
|
|
}
|