Interface ExpandingCollectionQuerySpace
-
- All Superinterfaces:
CollectionQuerySpace,ExpandingQuerySpace,QuerySpace
public interface ExpandingCollectionQuerySpace extends CollectionQuerySpace, ExpandingQuerySpace
Describes a collection query space that allows adding joins with other query spaces; used while building aCollectionQuerySpace.- See Also:
Join
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.loader.plan.spi.QuerySpace
QuerySpace.Disposition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddJoin(Join join)Adds a join with another query space for either a collection element or index.-
Methods inherited from interface org.hibernate.loader.plan.spi.CollectionQuerySpace
getCollectionPersister
-
Methods inherited from interface org.hibernate.loader.plan.build.spi.ExpandingQuerySpace
canJoinsBeRequired, getExpandingQuerySpaces
-
Methods inherited from interface org.hibernate.loader.plan.spi.QuerySpace
getDisposition, getJoins, getPropertyMapping, getQuerySpaces, getUid, toAliasedColumns
-
-
-
-
Method Detail
-
addJoin
void addJoin(Join join)
Adds a join with another query space for either a collection element or index. Ifjoinis an instance ofJoinDefinedByMetadata, then the only valid values returned byJoinDefinedByMetadata.getJoinedPropertyName()are"elements"and"indices"for the collection element or index, respectively.- Specified by:
addJoinin interfaceExpandingQuerySpace- Parameters:
join- The element or index join to add.- Throws:
java.lang.IllegalArgumentException- ifjoinis an instance ofJoinDefinedByMetadataandjoin.getJoinedPropertyName()is neither"elements"and"indices".java.lang.IllegalStateException- if there is already an existing join with the same joined property name.
-
-