ClickHouse/src/Parsers/ASTAsterisk.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
590 B
C++
Raw Normal View History

2011-08-28 08:50:27 +00:00
#pragma once
#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:
String getID(char) const override { return "Asterisk"; }
ASTPtr clone() const override;
void appendColumnName(WriteBuffer & ostr) const override;
ASTPtr expression;
ASTPtr transformers;
protected:
void formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
2011-08-28 08:50:27 +00:00
};
}