mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 22:22:00 +00:00
58 lines
1.5 KiB
C++
58 lines
1.5 KiB
C++
#include <Common/config.h>
|
|
#include "config_core.h"
|
|
#include <TableFunctions/registerTableFunctions.h>
|
|
#include <TableFunctions/TableFunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerTableFunctionMerge(TableFunctionFactory & factory);
|
|
void registerTableFunctionRemote(TableFunctionFactory & factory);
|
|
void registerTableFunctionNumbers(TableFunctionFactory & factory);
|
|
void registerTableFunctionCatBoostPool(TableFunctionFactory & factory);
|
|
void registerTableFunctionFile(TableFunctionFactory & factory);
|
|
void registerTableFunctionURL(TableFunctionFactory & factory);
|
|
|
|
#if USE_HDFS
|
|
void registerTableFunctionHDFS(TableFunctionFactory & factory);
|
|
#endif
|
|
|
|
#if USE_POCO_SQLODBC || USE_POCO_DATAODBC
|
|
void registerTableFunctionODBC(TableFunctionFactory & factory);
|
|
#endif
|
|
|
|
void registerTableFunctionJDBC(TableFunctionFactory & factory);
|
|
|
|
#if USE_MYSQL
|
|
void registerTableFunctionMySQL(TableFunctionFactory & factory);
|
|
#endif
|
|
|
|
|
|
void registerTableFunctions()
|
|
{
|
|
auto & factory = TableFunctionFactory::instance();
|
|
|
|
registerTableFunctionMerge(factory);
|
|
registerTableFunctionRemote(factory);
|
|
registerTableFunctionNumbers(factory);
|
|
registerTableFunctionCatBoostPool(factory);
|
|
registerTableFunctionFile(factory);
|
|
registerTableFunctionURL(factory);
|
|
|
|
#if USE_HDFS
|
|
registerTableFunctionHDFS(factory);
|
|
#endif
|
|
|
|
#if USE_POCO_SQLODBC || USE_POCO_DATAODBC
|
|
registerTableFunctionODBC(factory);
|
|
#endif
|
|
registerTableFunctionJDBC(factory);
|
|
|
|
#if USE_MYSQL
|
|
registerTableFunctionMySQL(factory);
|
|
#endif
|
|
}
|
|
|
|
}
|