public class SelectTableReferenceImpl extends TableReferenceImpl implements SelectTableReference
Constructor and Description |
---|
SelectTableReferenceImpl(SelectStatement pStatement,
Table pTable)
Creates a new instance of SelectTableReferenceImpl referencing
the given
SelectStatement . |
Modifier and Type | Method and Description |
---|---|
JoinReference |
getRightJoinedTableReference()
Returns the right table of a possible join or null,
if there is no such table.
|
SelectStatement |
getSelectStatement()
Returns the
SelectStatement that created the reference. |
JoinReference |
join(Table pTable)
Indicates that the referenced table shall be joined
with the given table
pTable and returns a
reference to that table. |
JoinReference |
leftOuterJoin(Table pTable)
Indicates that the referenced table shall be joined
in a left outer join with the given table
pTable
and returns a reference to that table. |
equals, getAlias, getStatement, getTable, hashCode, newColumnReference, newColumnReference, newColumnReference, setAlias, setAlias
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAlias, getStatement, getTable, newColumnReference, newColumnReference, newColumnReference, setAlias, setAlias
public SelectTableReferenceImpl(SelectStatement pStatement, Table pTable)
Creates a new instance of SelectTableReferenceImpl referencing
the given SelectStatement
.
public JoinReference join(Table pTable)
SelectTableReference
Indicates that the referenced table shall be joined
with the given table pTable
and returns a
reference to that table.
join
in interface SelectTableReference
public JoinReference leftOuterJoin(Table pTable)
SelectTableReference
Indicates that the referenced table shall be joined
in a left outer join with the given table pTable
and returns a reference to that table.
leftOuterJoin
in interface SelectTableReference
public SelectStatement getSelectStatement()
SelectTableReference
Returns the SelectStatement
that created the reference.
Shortcut for (SelectStatement) getStatement()
.
getSelectStatement
in interface SelectTableReference
public JoinReference getRightJoinedTableReference()
SelectTableReference
Returns the right table of a possible join or null, if there is no such table.
getRightJoinedTableReference
in interface SelectTableReference