public class JoinReferenceImpl extends SelectTableReferenceImpl implements JoinReference
| Modifier | Constructor and Description |
|---|---|
protected |
JoinReferenceImpl(SelectTableReference pLeftTableReference,
Table pRightTable,
boolean pOuterJoin)
Creates a new instance of JoinReferenceImpl.
|
| Modifier and Type | Method and Description |
|---|---|
SelectTableReference |
getLeftJoinedTableReference()
If this is a left join or a left outer join: Returns
the joins left table.
|
CombinedConstraint |
getOn()
Returns the references ON condition, if any.
|
boolean |
isJoin()
Returns whether this is a left join, as created by
SelectTableReference.join(Table). |
boolean |
isLeftOuterJoin()
Returns whether this is a left outer join, as created by
SelectTableReference.leftOuterJoin(Table). |
getRightJoinedTableReference, getSelectStatement, join, leftOuterJoinequals, getAlias, getStatement, getTable, hashCode, newColumnReference, newColumnReference, newColumnReference, setAlias, setAliasclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetRightJoinedTableReference, getSelectStatement, join, leftOuterJoingetAlias, getStatement, getTable, newColumnReference, newColumnReference, newColumnReference, setAlias, setAliasprotected JoinReferenceImpl(SelectTableReference pLeftTableReference, Table pRightTable, boolean pOuterJoin)
Creates a new instance of JoinReferenceImpl.
public boolean isJoin()
JoinReferenceReturns whether this is a left join, as created by
SelectTableReference.join(Table).
isJoin in interface JoinReferencepublic boolean isLeftOuterJoin()
JoinReferenceReturns whether this is a left outer join, as created by
SelectTableReference.leftOuterJoin(Table).
isLeftOuterJoin in interface JoinReferencepublic SelectTableReference getLeftJoinedTableReference()
JoinReferenceIf this is a left join or a left outer join: Returns the joins left table.
getLeftJoinedTableReference in interface JoinReferencepublic CombinedConstraint getOn()
JoinReferenceReturns the references ON condition, if any. The method
result is a combined constraint with CombinedConstraint.getType()
== CombinedConstraint.Type.AND.
getOn in interface JoinReference