| Constructor and Description |
|---|
J() |
| Modifier and Type | Method and Description |
|---|---|
static JoinDescription |
inner(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)
Add inner join for given
path |
static JoinDescription |
inner(com.querydsl.core.types.EntityPath<?> path)
Add inner join for given
path |
static JoinDescription |
left(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)
Add left join for given
path |
static JoinDescription |
left(com.querydsl.core.types.EntityPath<?> path)
Add left join for given
path |
static <P extends com.querydsl.core.types.dsl.SimpleExpression<?>,T extends com.querydsl.core.types.EntityPath<P>> |
path(com.querydsl.core.types.dsl.CollectionPathBase<?,?,P> path)
Aliases of nested joins are determined at runtime.
|
static <T extends com.querydsl.core.types.EntityPath> |
path(com.querydsl.core.types.EntityPath<?> grandFather,
com.querydsl.core.types.EntityPath<?> father,
T path)
Aliases of nested joins are determined at runtime.
|
static <T extends com.querydsl.core.types.EntityPath> |
path(com.querydsl.core.types.EntityPath<?> parent,
T path)
Aliases of nested joins are determined at runtime.
|
static List<JoinDescription> |
unrollChildrenJoins(Collection<JoinDescription> joins)
Collect all joins and its children to single collection
|
public static <P extends com.querydsl.core.types.dsl.SimpleExpression<?>,T extends com.querydsl.core.types.EntityPath<P>> P path(com.querydsl.core.types.dsl.CollectionPathBase<?,?,P> path)
Q.from(QGroup.group).joins(J.left(QPerson.person).nested(J.left(QContact.contact)))
Contact entity in the 'where' clause, one should use J.path(QPerson.person.contacts).number.eq(12345)T - any entity pathpath - path on parent entitypublic static <T extends com.querydsl.core.types.EntityPath> T path(com.querydsl.core.types.EntityPath<?> parent,
T path)
Q.from(QGroup.group).joins(J.left(QPerson.person).nested(J.left(QContact.contact)))
Contact entity in the 'where' clause, one should use J.path(QPerson.person, QContact.contact).number.eq(12345)T - any entity pathparent - parent join pathpath - target join pathpublic static <T extends com.querydsl.core.types.EntityPath> T path(com.querydsl.core.types.EntityPath<?> grandFather,
com.querydsl.core.types.EntityPath<?> father,
T path)
Q.from(QGroup.group).joins(J.left(QPerson.person).nested(J.left(QContact.contact).nested(QStatus.status)))
Status entity in the 'where' clause, one should use J.path(QPerson.person, QContact.contact. QStatus.status).state.eq("active")T - any entity pathgrandFather - parent of parent join pathfather - parent join pathpath - target join pathpublic static JoinDescription left(com.querydsl.core.types.EntityPath<?> path)
pathpath - alias of object to be joinedpublic static JoinDescription left(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)
pathpath - path to an object to be joinedpublic static JoinDescription inner(com.querydsl.core.types.EntityPath<?> path)
pathpath - alias of object to be joinedpublic static JoinDescription inner(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)
pathpath - path to an object to be joinedpublic static List<JoinDescription> unrollChildrenJoins(Collection<JoinDescription> joins)
joins - root joinsCopyright © 2021. All rights reserved.