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, setAliasclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAlias, getStatement, getTable, newColumnReference, newColumnReference, newColumnReference, setAlias, setAliaspublic SelectTableReferenceImpl(SelectStatement pStatement, Table pTable)
Creates a new instance of SelectTableReferenceImpl referencing
the given SelectStatement.
public JoinReference join(Table pTable)
SelectTableReferenceIndicates that the referenced table shall be joined
with the given table pTable and returns a
reference to that table.
join in interface SelectTableReferencepublic JoinReference leftOuterJoin(Table pTable)
SelectTableReferenceIndicates 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 SelectTableReferencepublic SelectStatement getSelectStatement()
SelectTableReferenceReturns the SelectStatement that created the reference.
Shortcut for (SelectStatement) getStatement().
getSelectStatement in interface SelectTableReferencepublic JoinReference getRightJoinedTableReference()
SelectTableReferenceReturns the right table of a possible join or null, if there is no such table.
getRightJoinedTableReference in interface SelectTableReference