mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
25 lines
474 B
C++
25 lines
474 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Parsers/ASTFunction.h>
|
||
|
#include <Parsers/IAST.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
/** name (subquery)
|
||
|
*/
|
||
|
class ASTProjectionDeclaration : public IAST
|
||
|
{
|
||
|
public:
|
||
|
String name;
|
||
|
ASTPtr query;
|
||
|
|
||
|
/** Get the text that identifies this element. */
|
||
|
String getID(char) const override { return "Projection"; }
|
||
|
|
||
|
ASTPtr clone() const override;
|
||
|
void formatImpl(const FormatSettings & s, FormatState & state, FormatStateStacked frame) const override;
|
||
|
};
|
||
|
|
||
|
}
|