1 | #pragma once |
---|---|
2 | |
3 | #include <Parsers/IAST.h> |
4 | |
5 | |
6 | namespace DB |
7 | { |
8 | |
9 | struct AsteriskSemantic; |
10 | struct AsteriskSemanticImpl; |
11 | |
12 | class ASTAsterisk : public IAST |
13 | { |
14 | public: |
15 | String getID(char) const override { return "Asterisk"; } |
16 | ASTPtr clone() const override; |
17 | void appendColumnName(WriteBuffer & ostr) const override; |
18 | |
19 | protected: |
20 | void formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override; |
21 | |
22 | private: |
23 | std::shared_ptr<AsteriskSemanticImpl> semantic; /// pimpl |
24 | |
25 | friend struct AsteriskSemantic; |
26 | }; |
27 | |
28 | } |
29 |