public class JoinDescription extends Object implements JoinRoot
collectionPath is used, for single entity joins - singlePath.
By default, all joins are left fetch joins
| Constructor and Description |
|---|
JoinDescription(com.querydsl.core.types.EntityPath<?> alias) |
| Modifier and Type | Method and Description |
|---|---|
JoinDescription |
collectionPath(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path) |
JoinDescription |
copy() |
boolean |
equals(Object o) |
JoinDescription |
fetch(boolean fetch) |
com.querydsl.core.types.EntityPath<?> |
getAlias() |
Map<String,JoinDescription> |
getAllJoins() |
Collection<JoinDescription> |
getChildren() |
com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> |
getCollectionPath() |
com.querydsl.core.JoinType |
getJoinType() |
com.querydsl.core.types.Predicate |
getOn() |
com.querydsl.core.types.EntityPath<?> |
getOriginalAlias() |
JoinDescription |
getParent() |
com.querydsl.core.types.EntityPath<?> |
getSinglePath() |
int |
hashCode() |
JoinDescription |
inner() |
boolean |
isCollectionPath() |
boolean |
isFetch() |
JoinDescription |
left() |
JoinDescription |
nested(com.querydsl.core.types.EntityPath<?>... paths)
Add children joins to current join from specified paths
|
JoinDescription |
nested(JoinDescription... joins)
Add children joins to current join
|
JoinDescription |
on(com.querydsl.core.types.Predicate on) |
JoinDescription |
right() |
JoinDescription |
singlePath(com.querydsl.core.types.EntityPath<?> path) |
String |
toString() |
public JoinDescription(com.querydsl.core.types.EntityPath<?> alias)
public JoinDescription copy()
public boolean isFetch()
public JoinDescription fetch(boolean fetch)
public JoinDescription on(com.querydsl.core.types.Predicate on)
public com.querydsl.core.types.Predicate getOn()
public com.querydsl.core.JoinType getJoinType()
public com.querydsl.core.types.EntityPath<?> getAlias()
public com.querydsl.core.types.EntityPath<?> getOriginalAlias()
public com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> getCollectionPath()
public com.querydsl.core.types.EntityPath<?> getSinglePath()
public JoinDescription singlePath(com.querydsl.core.types.EntityPath<?> path)
public JoinDescription collectionPath(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)
public boolean isCollectionPath()
public JoinDescription inner()
public JoinDescription left()
public JoinDescription right()
public JoinDescription nested(JoinDescription... joins)
joins - children joinspublic JoinDescription nested(com.querydsl.core.types.EntityPath<?>... paths)
paths - children join pathspublic JoinDescription getParent()
public Collection<JoinDescription> getChildren()
public Map<String,JoinDescription> getAllJoins()
getAllJoins in interface JoinRootCopyright © 2018. All rights reserved.