1 | #pragma once |
---|---|
2 | |
3 | #include <Common/ThreadPool.h> |
4 | #include <Databases/IDatabase.h> |
5 | |
6 | namespace DB |
7 | { |
8 | |
9 | class ASTStorage; |
10 | |
11 | class DatabaseFactory |
12 | { |
13 | public: |
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 |