2011-08-28 08:50:27 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-04-01 09:19:00 +00:00
|
|
|
#include <Parsers/IAST.h>
|
2011-08-28 08:50:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2020-08-29 05:33:46 +00:00
|
|
|
/** SELECT * is expanded to all visible columns of the source table.
|
|
|
|
* Optional transformers can be attached to further manipulate these expanded columns.
|
|
|
|
*/
|
2011-08-28 08:50:27 +00:00
|
|
|
class ASTAsterisk : public IAST
|
|
|
|
{
|
|
|
|
public:
|
2018-12-07 12:34:40 +00:00
|
|
|
String getID(char) const override { return "Asterisk"; }
|
2018-06-27 16:34:11 +00:00
|
|
|
ASTPtr clone() const override;
|
|
|
|
void appendColumnName(WriteBuffer & ostr) const override;
|
2015-08-05 21:38:31 +00:00
|
|
|
|
|
|
|
protected:
|
2018-06-27 16:34:11 +00:00
|
|
|
void formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
|
2011-08-28 08:50:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|