mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
26 lines
613 B
C++
26 lines
613 B
C++
|
#pragma once
|
||
|
|
||
|
#include <DB/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;
|
||
|
};
|
||
|
|
||
|
}
|