|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.util.Criteria.Join
Data object to describe a join between two tables, for example
table_a LEFT JOIN table_b ON table_a.id = table_b.a_idThe class is immutable. Because the class is also used by
BasePeer
, it is visible from the package.
Constructor Summary | |
Criteria.Join(java.lang.String leftColumn,
java.lang.String rightColumn,
SqlEnum joinType)
Constructor |
Method Summary | |
boolean |
equals(java.lang.Object obj)
This method checks another Criteria.Join to see if they contain the same attributes. |
SqlEnum |
getJoinType()
|
java.lang.String |
getLeftColumn()
|
java.lang.String |
getRightColumn()
|
int |
hashCode()
Returns the hash code value for this Join. |
java.lang.String |
toString()
returns a String representation of the class, mainly for debuggung purposes |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Criteria.Join(java.lang.String leftColumn, java.lang.String rightColumn, SqlEnum joinType)
leftColumn
- the left column of the join condition;
might contain an alias namerightColumn
- the right column of the join condition
might contain an alias namejoinType
- the type of the join. Valid join types are
null (adding the join condition to the where clause),
SqlEnum.LEFT_JOIN, SqlEnum.RIGHT_JOIN, and SqlEnum.INNER_JOINMethod Detail |
public final SqlEnum getJoinType()
public final java.lang.String getLeftColumn()
public final java.lang.String getRightColumn()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |