Package org.hibernate.loader
Class OuterJoinableAssociation
- java.lang.Object
-
- org.hibernate.loader.OuterJoinableAssociation
-
public final class OuterJoinableAssociation extends java.lang.Object
Part of the Hibernate SQL rendering internals. This class represents a joinable association.
-
-
Constructor Summary
Constructors Constructor Description OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, java.lang.String lhsAlias, java.lang.String[] lhsColumns, java.lang.String rhsAlias, JoinType joinType, java.lang.String withClause, boolean hasRestriction, SessionFactoryImplementor factory, java.util.Map enabledFilters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addJoins(JoinFragment outerjoin)
void
addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection)
static OuterJoinableAssociation
createRoot(AssociationType joinableType, java.lang.String alias, SessionFactoryImplementor factory)
Joinable
getJoinable()
AssociationType
getJoinableType()
JoinType
getJoinType()
java.lang.String
getLhsAlias()
int
getOwner(java.util.List associations)
PropertyPath
getPropertyPath()
java.lang.String
getRhsAlias()
java.lang.String
getRHSAlias()
java.lang.String
getRHSUniqueKeyName()
boolean
hasRestriction()
boolean
isCollection()
boolean
isManyToManyWith(OuterJoinableAssociation other)
void
validateJoin(java.lang.String path)
-
-
-
Constructor Detail
-
OuterJoinableAssociation
public OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, java.lang.String lhsAlias, java.lang.String[] lhsColumns, java.lang.String rhsAlias, JoinType joinType, java.lang.String withClause, boolean hasRestriction, SessionFactoryImplementor factory, java.util.Map enabledFilters) throws MappingException
- Throws:
MappingException
-
-
Method Detail
-
createRoot
public static OuterJoinableAssociation createRoot(AssociationType joinableType, java.lang.String alias, SessionFactoryImplementor factory)
-
getPropertyPath
public PropertyPath getPropertyPath()
-
getJoinType
public JoinType getJoinType()
-
getLhsAlias
public java.lang.String getLhsAlias()
-
getRHSAlias
public java.lang.String getRHSAlias()
-
getRhsAlias
public java.lang.String getRhsAlias()
-
getJoinableType
public AssociationType getJoinableType()
-
getRHSUniqueKeyName
public java.lang.String getRHSUniqueKeyName()
-
isCollection
public boolean isCollection()
-
getJoinable
public Joinable getJoinable()
-
hasRestriction
public boolean hasRestriction()
-
getOwner
public int getOwner(java.util.List associations)
-
addJoins
public void addJoins(JoinFragment outerjoin) throws MappingException
- Throws:
MappingException
-
validateJoin
public void validateJoin(java.lang.String path) throws MappingException
- Throws:
MappingException
-
isManyToManyWith
public boolean isManyToManyWith(OuterJoinableAssociation other)
-
addManyToManyJoin
public void addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection) throws MappingException
- Throws:
MappingException
-
-