ClickHouse/dbms/src/Interpreters/IRuntimeComponentsFactory.h

23 lines
431 B
C++
Raw Normal View History

#pragma once
#include <Interpreters/ISecurityManager.h>
#include <memory>
namespace DB
{
2017-11-28 00:52:56 +00:00
/** Factory of query engine runtime components / services.
* Helps to host query engine in external applications
* by replacing or reconfiguring its components.
*/
class IRuntimeComponentsFactory
{
public:
virtual std::unique_ptr<ISecurityManager> createSecurityManager() = 0;
virtual ~IRuntimeComponentsFactory() {}
};
}