ClickHouse/dbms/Parsers/ASTAsterisk.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +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;
};
}