Package cz.encircled.joiner.query.join
Class JoinDescription
java.lang.Object
cz.encircled.joiner.query.join.JoinDescription
- All Implemented Interfaces:
JoinRoot
Represents query join.
For collection joins -
collectionPath is used, for single entity joins - singlePath.
By default, all joins are left fetch joins
- Author:
- Kisel on 21.01.2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectionPath(com.querydsl.core.types.dsl.CollectionPathBase<?, ?, ?> path) copy()booleanfetch(boolean fetch) com.querydsl.core.types.EntityPath<?>getAlias()com.querydsl.core.types.dsl.CollectionPathBase<?,?, ?> com.querydsl.core.JoinTypecom.querydsl.core.types.PredicategetOn()com.querydsl.core.types.EntityPath<?>com.querydsl.core.types.EntityPath<?>inthashCode()inner()booleanbooleanisFetch()left()nested(com.querydsl.core.types.dsl.CollectionPathBase<?, ?, ?>... paths) Add children joins to current join from specified pathsnested(com.querydsl.core.types.EntityPath<?>... paths) Add children joins to current join from specified pathsnested(JoinDescription... joins) Add children joins to current joinon(com.querydsl.core.types.Predicate on) right()singularPath(com.querydsl.core.types.EntityPath<?> path) toString()
-
Constructor Details
-
JoinDescription
public JoinDescription(com.querydsl.core.types.EntityPath<?> alias)
-
-
Method Details
-
copy
-
isFetch
public boolean isFetch() -
fetch
-
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()?> -
getSingularPath
public com.querydsl.core.types.EntityPath<?> getSingularPath() -
singularPath
-
collectionPath
-
isCollectionPath
public boolean isCollectionPath() -
inner
-
left
-
right
-
nested
Add children joins to current join- Parameters:
joins- children joins- Returns:
- current join
-
nested
Add children joins to current join from specified paths- Parameters:
paths- children join paths- Returns:
- current join
-
nested
Add children joins to current join from specified paths- Parameters:
paths- children join paths- Returns:
- current join
-
getParent
-
getChildren
-
getAllJoins
- Specified by:
getAllJoinsin interfaceJoinRoot
-
equals
-
hashCode
public int hashCode() -
toString
-