ClickHouse/dbms/src/Parsers/ASTAsterisk.h
2019-02-20 15:12:36 +03:00

29 lines
544 B
C++

#pragma once
#include <Parsers/IAST.h>
namespace DB
{
struct AsteriskSemantic;
struct AsteriskSemanticImpl;
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;
};
}