mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
20 lines
461 B
C++
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);
|
|
};
|
|
|
|
}
|