ClickHouse/dbms/src/Storages/registerStorages.cpp

55 lines
1.2 KiB
C++
Raw Normal View History

#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);
2018-06-11 12:13:00 +00:00
registerStorageURL(factory);
registerStorageDictionary(factory);
registerStorageSet(factory);
registerStorageJoin(factory);
registerStorageView(factory);
registerStorageMaterializedView(factory);
registerStorageLiveView(factory);
2020-02-26 14:12:07 +00:00
registerStorageGenerate(factory);
2020-02-26 14:12:07 +00:00
#if USE_AWS_S3
2019-12-06 14:37:21 +00:00
registerStorageS3(factory);
#endif
#if USE_HDFS
registerStorageHDFS(factory);
#endif
registerStorageODBC(factory);
2018-09-25 14:29:44 +00:00
registerStorageJDBC(factory);
#if USE_MYSQL
registerStorageMySQL(factory);
#endif
#if USE_RDKAFKA
registerStorageKafka(factory);
#endif
}
}