2017-12-30 00:36:06 +00:00
|
|
|
#include <Common/config.h>
|
2019-06-24 11:17:15 +00:00
|
|
|
#include "config_core.h"
|
2017-12-30 00:36:06 +00:00
|
|
|
|
|
|
|
#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);
|
2017-12-30 00:36:06 +00:00
|
|
|
registerStorageDictionary(factory);
|
|
|
|
registerStorageSet(factory);
|
|
|
|
registerStorageJoin(factory);
|
|
|
|
registerStorageView(factory);
|
|
|
|
registerStorageMaterializedView(factory);
|
2019-05-28 21:17:48 +00:00
|
|
|
registerStorageLiveView(factory);
|
2020-02-26 14:12:07 +00:00
|
|
|
registerStorageGenerate(factory);
|
2017-12-30 00:36:06 +00:00
|
|
|
|
2020-02-26 14:12:07 +00:00
|
|
|
#if USE_AWS_S3
|
2019-12-06 14:37:21 +00:00
|
|
|
registerStorageS3(factory);
|
|
|
|
#endif
|
|
|
|
|
2018-12-05 13:24:45 +00:00
|
|
|
#if USE_HDFS
|
|
|
|
registerStorageHDFS(factory);
|
|
|
|
#endif
|
|
|
|
|
2017-12-30 00:36:06 +00:00
|
|
|
registerStorageODBC(factory);
|
2018-09-25 14:29:44 +00:00
|
|
|
registerStorageJDBC(factory);
|
|
|
|
|
2017-12-30 00:36:06 +00:00
|
|
|
#if USE_MYSQL
|
|
|
|
registerStorageMySQL(factory);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if USE_RDKAFKA
|
|
|
|
registerStorageKafka(factory);
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|