ClickHouse/dbms/include/DB/Databases/DatabaseFactory.h
2016-08-02 04:46:05 +03:00

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);
};
}