mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
#include <Common/config.h>
|
|
#include <TableFunctions/registerTableFunctions.h>
|
|
#include <TableFunctions/TableFunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerTableFunctionMerge(TableFunctionFactory & factory);
|
|
void registerTableFunctionRemote(TableFunctionFactory & factory);
|
|
void registerTableFunctionShardByHash(TableFunctionFactory & factory);
|
|
void registerTableFunctionNumbers(TableFunctionFactory & factory);
|
|
void registerTableFunctionCatBoostPool(TableFunctionFactory & factory);
|
|
void registerTableFunctionFile(TableFunctionFactory & factory);
|
|
|
|
#if Poco_SQLODBC_FOUND || Poco_DataODBC_FOUND
|
|
void registerTableFunctionODBC(TableFunctionFactory & factory);
|
|
#endif
|
|
|
|
#if USE_MYSQL
|
|
void registerTableFunctionMySQL(TableFunctionFactory & factory);
|
|
#endif
|
|
|
|
|
|
void registerTableFunctions()
|
|
{
|
|
auto & factory = TableFunctionFactory::instance();
|
|
|
|
registerTableFunctionMerge(factory);
|
|
registerTableFunctionRemote(factory);
|
|
registerTableFunctionShardByHash(factory);
|
|
registerTableFunctionNumbers(factory);
|
|
registerTableFunctionCatBoostPool(factory);
|
|
registerTableFunctionFile(factory);
|
|
|
|
#if Poco_SQLODBC_FOUND || Poco_DataODBC_FOUND
|
|
registerTableFunctionODBC(factory);
|
|
#endif
|
|
|
|
#if USE_MYSQL
|
|
registerTableFunctionMySQL(factory);
|
|
#endif
|
|
}
|
|
|
|
}
|