接口 ExpandingCollectionQuerySpace
-
- 所有已知实现类:
CollectionQuerySpaceImpl
public interface ExpandingCollectionQuerySpace extends CollectionQuerySpace, ExpandingQuerySpace
Describes a collection query space that allows adding joins with other query spaces; used while building aCollectionQuerySpace.- 作者:
- Gail Badner
- 另请参阅:
Join
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.loader.plan.spi.QuerySpace
QuerySpace.Disposition
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidaddJoin(Join join)Adds a join with another query space for either a collection element or index.-
从接口继承的方法 org.hibernate.loader.plan.spi.CollectionQuerySpace
getCollectionPersister
-
从接口继承的方法 org.hibernate.loader.plan.build.spi.ExpandingQuerySpace
canJoinsBeRequired, getExpandingQuerySpaces
-
从接口继承的方法 org.hibernate.loader.plan.spi.QuerySpace
getDisposition, getJoins, getPropertyMapping, getQuerySpaces, getUid, toAliasedColumns
-
-
-
-
方法详细资料
-
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.- 指定者:
addJoin在接口中ExpandingQuerySpace- 参数:
join- The element or index join to add.- 抛出:
IllegalArgumentException- ifjoinis an instance ofJoinDefinedByMetadataandjoin.getJoinedPropertyName()is neither"elements"and"indices".IllegalStateException- if there is already an existing join with the same joined property name.
-
-