|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Joins
Tracks joins made when traversing relations in a select.
Method Summary | |
---|---|
Joins |
crossJoin(Table localTable,
Table foreignTable)
Perform a cross join on the given tables. |
String |
getCorrelatedVariable()
Return correlated variable name |
boolean |
isEmpty()
Whether we have any joins. |
boolean |
isOuter()
Whether this joins path results in outer joins. |
Joins |
join(ForeignKey fk,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key. |
Joins |
joinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subclasses,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key, which represents a relation via the given field name. |
void |
moveJoinsToParent()
Move joins that belong to subquery's parent |
Joins |
outerJoin(ForeignKey fk,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key. |
Joins |
outerJoinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subclasses,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key, which represents a relation via the given field name. |
Joins |
setCorrelatedVariable(String var)
Set the correlated variable name being traversed into with the next join. |
Joins |
setJoinContext(Context context)
Set subquery context when traversing into the next join is in transition from parent context to subquery. |
Joins |
setSubselect(String alias)
Set the subquery alias. |
Joins |
setVariable(String var)
Set the variable name being traversed into with the next join. |
Method Detail |
---|
boolean isEmpty()
boolean isOuter()
Joins crossJoin(Table localTable, Table foreignTable)
Joins join(ForeignKey fk, boolean inverse, boolean toMany)
Joins outerJoin(ForeignKey fk, boolean inverse, boolean toMany)
Joins joinRelation(String name, ForeignKey fk, ClassMapping target, int subclasses, boolean inverse, boolean toMany)
Joins outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subclasses, boolean inverse, boolean toMany)
Joins setVariable(String var)
Joins setSubselect(String alias)
Joins setJoinContext(Context context)
context
- Joins setCorrelatedVariable(String var)
String getCorrelatedVariable()
void moveJoinsToParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |