mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
29 lines
544 B
C++
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;
|
|
};
|
|
|
|
}
|