1#pragma once
2
3#include <Common/ThreadPool.h>
4#include <Databases/IDatabase.h>
5
6namespace DB
7{
8
9class ASTStorage;
10
11class DatabaseFactory
12{
13public:
14 static DatabasePtr get(const String & database_name, const String & metadata_path, const ASTStorage * engine_define, Context & context);
15
16 static DatabasePtr getImpl(const String & database_name, const String & metadata_path, const ASTStorage * engine_define, Context & context);
17};
18
19}
20