ClickHouse/dbms/src/TableFunctions/registerTableFunctions.cpp

53 lines
1.5 KiB
C++
Raw Normal View History

2017-12-28 04:29:53 +00:00
#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);
2018-06-11 12:13:00 +00:00
void registerTableFunctionURL(TableFunctionFactory & factory);
2018-11-19 08:17:09 +00:00
void registerTableFunctionHDFS(TableFunctionFactory & factory);
#if USE_POCO_SQLODBC || USE_POCO_DATAODBC
void registerTableFunctionODBC(TableFunctionFactory & factory);
#endif
2018-09-25 14:29:44 +00:00
void registerTableFunctionJDBC(TableFunctionFactory & factory);
2017-12-28 04:29:53 +00:00
#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);
2018-06-11 12:13:00 +00:00
registerTableFunctionURL(factory);
2018-11-19 08:17:09 +00:00
registerTableFunctionHDFS(factory);
#if USE_POCO_SQLODBC || USE_POCO_DATAODBC
registerTableFunctionODBC(factory);
#endif
2018-09-25 14:29:44 +00:00
registerTableFunctionJDBC(factory);
2017-12-28 04:29:53 +00:00
#if USE_MYSQL
registerTableFunctionMySQL(factory);
#endif
}
}