mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
28 lines
510 B
C++
28 lines
510 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Interpreters/IInterpreter.h>
|
||
|
#include <Parsers/IAST_fwd.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
class Context;
|
||
|
|
||
|
class InterpreterShowFunctionsQuery : public IInterpreter, WithMutableContext
|
||
|
{
|
||
|
public:
|
||
|
InterpreterShowFunctionsQuery(const ASTPtr & query_ptr_, ContextMutablePtr context_);
|
||
|
|
||
|
BlockIO execute() override;
|
||
|
|
||
|
bool ignoreQuota() const override { return true; }
|
||
|
bool ignoreLimits() const override { return true; }
|
||
|
|
||
|
private:
|
||
|
ASTPtr query_ptr;
|
||
|
|
||
|
String getRewrittenQuery();
|
||
|
};
|
||
|
|
||
|
}
|