| 1 | #include <Parsers/ASTAsterisk.h> | 
|---|---|
| 2 | #include <IO/WriteBuffer.h> | 
| 3 | |
| 4 | namespace DB | 
| 5 | { | 
| 6 | |
| 7 | ASTPtr ASTAsterisk::clone() const | 
| 8 | { | 
| 9 | auto clone = std::make_shared<ASTAsterisk>(*this); | 
| 10 | clone->cloneChildren(); | 
| 11 | return clone; | 
| 12 | } | 
| 13 | |
| 14 | void ASTAsterisk::appendColumnName(WriteBuffer & ostr) const { ostr.write('*'); } | 
| 15 | |
| 16 | void ASTAsterisk::formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const | 
| 17 | { | 
| 18 | settings.ostr << "*"; | 
| 19 | } | 
| 20 | |
| 21 | } | 
| 22 | 
