ClickHouse/src/Parsers/ASTProjectionDeclaration.h
2021-11-26 18:21:54 +01:00

24 lines
441 B
C++

#pragma once
#include <Parsers/IAST.h>
namespace DB
{
/** name (subquery)
*/
class ASTProjectionDeclaration : public IAST
{
public:
String name;
IAST * 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;
};
}