ClickHouse/programs/odbc-bridge/ColumnInfoHandler.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
560 B
C++
Raw Normal View History

#pragma once
#include "config.h"
2022-01-18 06:49:10 +00:00
#if USE_ODBC
#include <Interpreters/Context_fwd.h>
2021-03-22 11:40:29 +00:00
#include <Server/HTTP/HTTPRequestHandler.h>
#include <Poco/Logger.h>
namespace DB
{
class ODBCColumnsInfoHandler : public HTTPRequestHandler, WithContext
{
public:
2024-03-26 22:31:40 +00:00
explicit ODBCColumnsInfoHandler(ContextPtr context_) : WithContext(context_), log(getLogger("ODBCColumnsInfoHandler")) { }
void handleRequest(HTTPServerRequest & request, HTTPServerResponse & response, const ProfileEvents::Event & write_event) override;
private:
2024-01-23 17:04:50 +00:00
LoggerPtr log;
};
}
#endif