ClickHouse/dbms/Databases/DatabaseFactory.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

20 lines
439 B
C++

#pragma once
#include <Common/ThreadPool.h>
#include <Databases/IDatabase.h>
namespace DB
{
class ASTStorage;
class DatabaseFactory
{
public:
static DatabasePtr get(const String & database_name, const String & metadata_path, const ASTStorage * engine_define, Context & context);
static DatabasePtr getImpl(const String & database_name, const String & metadata_path, const ASTStorage * engine_define, Context & context);
};
}