ClickHouse/src/Parsers/ASTQualifiedAsterisk.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
714 B
C++
Raw Normal View History

#pragma once
#include <Parsers/IAST.h>
namespace DB
{
/** Something like t.*
* It will have qualifier as its child ASTIdentifier.
2020-08-29 05:33:46 +00:00
* Optional transformers can be attached to further manipulate these expanded columns.
*/
class ASTQualifiedAsterisk : public IAST
{
public:
String getID(char) const override { return "QualifiedAsterisk"; }
ASTPtr clone() const override
{
auto clone = std::make_shared<ASTQualifiedAsterisk>(*this);
clone->cloneChildren();
return clone;
}
void appendColumnName(WriteBuffer & ostr) const override;
protected:
void formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
};
}