Package cz.encircled.joiner.query.join
Class JoinDescription
- java.lang.Object
-
- cz.encircled.joiner.query.join.JoinDescription
-
- All Implemented Interfaces:
JoinRoot
public class JoinDescription extends Object implements JoinRoot
Represents query join. For collection joins -collectionPathis used, for single entity joins -singlePath.By default, all joins are left fetch joins
- Author:
- Kisel on 21.01.2016.
-
-
Constructor Summary
Constructors Constructor Description JoinDescription(com.querydsl.core.types.EntityPath<?> alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinDescriptioncollectionPath(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)JoinDescriptioncopy()booleanequals(Object o)JoinDescriptionfetch(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.JoinTypegetJoinType()com.querydsl.core.types.PredicategetOn()com.querydsl.core.types.EntityPath<?>getOriginalAlias()JoinDescriptiongetParent()com.querydsl.core.types.EntityPath<?>getSinglePath()inthashCode()JoinDescriptioninner()booleanisCollectionPath()booleanisFetch()JoinDescriptionleft()JoinDescriptionnested(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?>... paths)Add children joins to current join from specified pathsJoinDescriptionnested(com.querydsl.core.types.EntityPath<?>... paths)Add children joins to current join from specified pathsJoinDescriptionnested(JoinDescription... joins)Add children joins to current joinJoinDescriptionon(com.querydsl.core.types.Predicate on)JoinDescriptionright()JoinDescriptionsinglePath(com.querydsl.core.types.EntityPath<?> path)StringtoString()
-
-
-
Method Detail
-
copy
public JoinDescription copy()
-
isFetch
public boolean isFetch()
-
fetch
public JoinDescription fetch(boolean fetch)
-
on
public JoinDescription on(com.querydsl.core.types.Predicate on)
-
getOn
public com.querydsl.core.types.Predicate getOn()
-
getJoinType
public com.querydsl.core.JoinType getJoinType()
-
getAlias
public com.querydsl.core.types.EntityPath<?> getAlias()
-
getOriginalAlias
public com.querydsl.core.types.EntityPath<?> getOriginalAlias()
-
getCollectionPath
public com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> getCollectionPath()
-
getSinglePath
public com.querydsl.core.types.EntityPath<?> getSinglePath()
-
singlePath
public JoinDescription singlePath(com.querydsl.core.types.EntityPath<?> path)
-
collectionPath
public JoinDescription collectionPath(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?> path)
-
isCollectionPath
public boolean isCollectionPath()
-
inner
public JoinDescription inner()
-
left
public JoinDescription left()
-
right
public JoinDescription right()
-
nested
public JoinDescription nested(JoinDescription... joins)
Add children joins to current join- Parameters:
joins- children joins- Returns:
- current join
-
nested
public JoinDescription nested(com.querydsl.core.types.EntityPath<?>... paths)
Add children joins to current join from specified paths- Parameters:
paths- children join paths- Returns:
- current join
-
nested
public JoinDescription nested(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?>... paths)
Add children joins to current join from specified paths- Parameters:
paths- children join paths- Returns:
- current join
-
getParent
public JoinDescription getParent()
-
getChildren
public Collection<JoinDescription> getChildren()
-
getAllJoins
public Map<String,JoinDescription> getAllJoins()
- Specified by:
getAllJoinsin interfaceJoinRoot
-
-