Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.sqls.impl.TableReferenceImpl
org.apache.ws.jaxme.sqls.impl.SelectTableReferenceImpl
Constructor Summary | |
|
Method Summary | |
JoinReference |
|
SelectStatement |
|
JoinReference | |
JoinReference |
|
Methods inherited from class org.apache.ws.jaxme.sqls.impl.TableReferenceImpl | |
equals , getAlias , getStatement , getTable , hashCode , newColumnReference , newColumnReference , newColumnReference , setAlias , setAlias |
public SelectTableReferenceImpl(SelectStatement pStatement, Table pTable)
Creates a new instance of SelectTableReferenceImpl referencing the givenSelectStatement
.
public JoinReference getRightJoinedTableReference()
Returns the right table of a possible join or null, if there is no such table.
- Specified by:
- getRightJoinedTableReference in interface SelectTableReference
public SelectStatement getSelectStatement()
Returns theSelectStatement
that created the reference. Shortcut for(SelectStatement) getStatement()
.
- Specified by:
- getSelectStatement in interface SelectTableReference
public JoinReference join(Table pTable)
Indicates that the referenced table shall be joined with the given tablepTable
and returns a reference to that table.
- Specified by:
- join in interface SelectTableReference
public JoinReference leftOuterJoin(Table pTable)
Indicates that the referenced table shall be joined in a left outer join with the given tablepTable
and returns a reference to that table.
- Specified by:
- leftOuterJoin in interface SelectTableReference