Top Description Methods
org.hibernate.loader.plan.build.spi

public Interface ExpandingCollectionQuerySpace

extends CollectionQuerySpace, ExpandingQuerySpace
Known Direct Implementers
org.hibernate.loader.plan.build.internal.spaces.CollectionQuerySpaceImpl
Imports
org.hibernate.loader.plan.spi.CollectionQuerySpace, .Join

Describes a collection query space that allows adding joins with other query spaces; used while building a CollectionQuerySpace.
Author
Gail Badner
See Also
org.hibernate.loader.plan.spi.Join

Method Summary

Modifier and TypeMethod and Description
public void
addJoin(Join
The element or index join to add.
join
)

Redeclares org.hibernate.loader.plan.build.spi.ExpandingQuerySpace.addJoin.

Adds a join with another query space for either a collection element or index.
Inherited from org.hibernate.loader.plan.build.spi.ExpandingQuerySpace:
canJoinsBeRequiredgetExpandingQuerySpaces
Inherited from org.hibernate.loader.plan.spi.CollectionQuerySpace:
getCollectionPersister

Method Detail

addJoinback to summary
public void addJoin(Join join)

Redeclares org.hibernate.loader.plan.build.spi.ExpandingQuerySpace.addJoin.

Adds a join with another query space for either a collection element or index. If join is an instance of org.hibernate.loader.plan.spi.JoinDefinedByMetadata, then the only valid values returned by org.hibernate.loader.plan.spi.JoinDefinedByMetadata#getJoinedPropertyName are "elements" and "indices" for the collection element or index, respectively.

Parameters
join:Join

The element or index join to add.

Exceptions
IllegalArgumentException:
if join is an instance of org.hibernate.loader.plan.spi.JoinDefinedByMetadata and join.getJoinedPropertyName() is neither "elements" and "indices".
IllegalStateException:
if there is already an existing join with the same joined property name.