2018-08-07 17:57:44 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Interpreters/Context.h>
|
2018-08-10 14:46:12 +00:00
|
|
|
#include <Poco/Logger.h>
|
2022-04-27 15:05:45 +00:00
|
|
|
#include <Bridge/IBridge.h>
|
2022-08-03 11:19:13 +00:00
|
|
|
#include "ODBCHandlerFactory.h"
|
2021-03-07 13:55:40 +00:00
|
|
|
|
2018-08-07 17:57:44 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2021-03-07 13:55:40 +00:00
|
|
|
|
|
|
|
class ODBCBridge : public IBridge
|
2018-08-07 17:57:44 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
protected:
|
2022-08-03 11:19:13 +00:00
|
|
|
std::string bridgeName() const override;
|
|
|
|
HandlerFactoryPtr getHandlerFactoryPtr(ContextPtr context) const override;
|
2018-08-07 17:57:44 +00:00
|
|
|
};
|
|
|
|
}
|