Class JoinDescription

  • All Implemented Interfaces:
    JoinRoot

    public class JoinDescription
    extends Object
    implements 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 Detail

      • JoinDescription

        public JoinDescription​(com.querydsl.core.types.EntityPath<?> alias)
    • Method Detail

      • isFetch

        public boolean isFetch()
      • 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()
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object