mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
54 lines
1.1 KiB
C++
54 lines
1.1 KiB
C++
#include <Common/config.h>
|
|
#include "config_core.h"
|
|
|
|
#include <Storages/registerStorages.h>
|
|
#include <Storages/StorageFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerStorages()
|
|
{
|
|
auto & factory = StorageFactory::instance();
|
|
|
|
registerStorageLog(factory);
|
|
registerStorageTinyLog(factory);
|
|
registerStorageStripeLog(factory);
|
|
registerStorageMergeTree(factory);
|
|
registerStorageNull(factory);
|
|
registerStorageMerge(factory);
|
|
registerStorageBuffer(factory);
|
|
registerStorageDistributed(factory);
|
|
registerStorageMemory(factory);
|
|
registerStorageFile(factory);
|
|
registerStorageURL(factory);
|
|
registerStorageDictionary(factory);
|
|
registerStorageSet(factory);
|
|
registerStorageJoin(factory);
|
|
registerStorageView(factory);
|
|
registerStorageMaterializedView(factory);
|
|
registerStorageLiveView(factory);
|
|
|
|
#if USE_AWS_S3
|
|
registerStorageS3(factory);
|
|
#endif
|
|
|
|
#if USE_HDFS
|
|
registerStorageHDFS(factory);
|
|
#endif
|
|
|
|
registerStorageODBC(factory);
|
|
registerStorageJDBC(factory);
|
|
|
|
#if USE_MYSQL
|
|
registerStorageMySQL(factory);
|
|
#endif
|
|
|
|
#if USE_RDKAFKA
|
|
registerStorageKafka(factory);
|
|
#endif
|
|
}
|
|
|
|
}
|