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
|
|
|
|
{
|
|
|
|
|
2019-02-20 12:12:36 +00:00
|
|
|
struct AsteriskSemantic;
|
|
|
|
struct AsteriskSemanticImpl;
|
|
|
|
|
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;
|
2019-02-20 12:12:36 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::shared_ptr<AsteriskSemanticImpl> semantic; /// pimpl
|
|
|
|
|
|
|
|
friend struct AsteriskSemantic;
|
2011-08-28 08:50:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|