|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.sql.ast.common.JoinType
public class JoinType
Represents a canonical join type.
Note that currently HQL really only supports inner and left outer joins (though cross joins can also be achieved). This is because joins in HQL are always defined in relation to a mapped association. However, when we start allowing users to specify ad-hoc joins this may need to change to allow the full spectrum of join types. Thus the others are provided here currently just for completeness and for future expansion.
| Field Summary | |
|---|---|
static JoinType |
CROSS
Represents a cross join (aka a cartesian product). |
static JoinType |
FULL
Represents a full join. |
static JoinType |
INNER
Represents an inner join. |
static JoinType |
LEFT
Represents a left outer join. |
static JoinType |
RIGHT
Represents a right outer join. |
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final JoinType INNER
public static final JoinType LEFT
public static final JoinType RIGHT
public static final JoinType CROSS
public static final JoinType FULL
| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||