ClickHouse/dbms/Parsers/ASTAsterisk.h

29 lines
544 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
{
struct AsteriskSemantic;
struct AsteriskSemanticImpl;
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;
protected:
void formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
private:
std::shared_ptr<AsteriskSemanticImpl> semantic; /// pimpl
friend struct AsteriskSemantic;
2011-08-28 08:50:27 +00:00
};
}