ClickHouse/src/Databases/DatabaseFactory.h
2020-07-02 23:39:31 +03:00

20 lines
461 B
C++

#pragma once
#include <Common/ThreadPool.h>
#include <Databases/IDatabase.h>
namespace DB
{
class ASTStorage;
class DatabaseFactory
{
public:
static DatabasePtr get(const String & database_name, const String & metadata_path, const ASTStorage * engine_define, UUID uuid, Context & context);
static DatabasePtr getImpl(const String & database_name, const String & metadata_path, const ASTStorage * engine_define, UUID uuid, Context & context);
};
}