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