Class TJoinExpr

All Implemented Interfaces:
IRelation, Visitable, Iterator<TSourceToken>

public class TJoinExpr extends TNodeWithAliasClause implements IRelation
Represents a JOIN expression in SQL statements. This class replaces TJoin as of version 2.7.4.0.

A JOIN expression consists of:

For nested joins, the left and right operands can themselves be JOIN expressions, allowing representation of complex join trees. Use getLeftMostJoinExpr() to traverse to the leftmost join in a nested structure.

PostgreSQL-specific: Supports USING clause aliases via getJoin_using_alias().

The class implements IRelation and maintains a list of available attributes from both sides of the join via getAttributes().

Represents join table in parse tree.