ClickHouse/dbms/src/Storages/registerStorages.cpp
2019-12-20 17:46:00 +03:00

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
}
}