ClickHouse/dbms/src/Parsers/ASTQualifiedAsterisk.h

26 lines
628 B
C++

#pragma once
#include <Parsers/IAST.h>
namespace DB
{
/** Something like t.*
* It will have qualifier as its child ASTIdentifier.
*/
class ASTQualifiedAsterisk : public IAST
{
public:
ASTQualifiedAsterisk() = default;
ASTQualifiedAsterisk(StringRange range_) : IAST(range_) {}
String getID() const override { return "QualifiedAsterisk"; }
ASTPtr clone() const override { return std::make_shared<ASTQualifiedAsterisk>(*this); }
String getColumnName() const override;
protected:
void formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
};
}