|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A TableReference being used in a SELECT statement. You
may cast the result of
Statement.getTableReference()
to an instance of SelectTableReference.
| Method Summary | |
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. |
| Methods inherited from interface org.apache.ws.jaxme.sqls.TableReference |
getAlias, getStatement, getTable, newColumnReference, newColumnReference, newColumnReference, setAlias, setAlias |
| Method Detail |
public SelectStatement getSelectStatement()
Returns the SelectStatement that created the reference.
Shortcut for (SelectStatement) getStatement().
public JoinReference join(Table pTable)
Indicates that the referenced table shall be joined
with the given table pTable and returns a
reference to that table.
public 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.
public JoinReference getRightJoinedTableReference()
Returns the right table of a possible join or null, if there is no such table.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||