ClickHouse/dbms/include/DB/Databases/DatabaseFactory.h

21 lines
264 B
C++

#pragma once
#include <threadpool.hpp>
#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);
};
}