mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
21 lines
272 B
C++
21 lines
272 B
C++
#pragma once
|
|
|
|
#include <DB/Common/ThreadPool.h>
|
|
#include <DB/Databases/IDatabase.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class DatabaseFactory
|
|
{
|
|
public:
|
|
static DatabasePtr get(
|
|
const String & engine_name,
|
|
const String & database_name,
|
|
const String & path,
|
|
Context & context);
|
|
};
|
|
|
|
}
|