类 CollectionQuerySpaceImpl
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.spaces.AbstractQuerySpace
-
- org.hibernate.loader.plan.build.internal.spaces.CollectionQuerySpaceImpl
-
public class CollectionQuerySpaceImpl extends AbstractQuerySpace implements ExpandingCollectionQuerySpace
- 作者:
- Steve Ebersole
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.loader.plan.spi.QuerySpace
QuerySpace.Disposition
-
-
构造器概要
构造器 构造器 说明 CollectionQuerySpaceImpl(CollectionPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddJoin(Join join)Adds a join with another query space for either a collection element or index.voidaddJoin(JoinDefinedByMetadata join)CollectionPersistergetCollectionPersister()Retrieve the collection persister this QuerySpace refers to.ExpandingQuerySpacesgetExpandingQuerySpaces()PropertyMappinggetPropertyMapping()Get thePropertyMappingfor this QuerySpace.String[]toAliasedColumns(String alias, String propertyName)Get the aliased column names for the specified property in the query space..-
从类继承的方法 org.hibernate.loader.plan.build.internal.spaces.AbstractQuerySpace
canJoinsBeRequired, getDisposition, getJoins, getQuerySpaces, getUid, internalGetJoins, sessionFactory
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.build.spi.ExpandingQuerySpace
canJoinsBeRequired
-
从接口继承的方法 org.hibernate.loader.plan.spi.QuerySpace
getDisposition, getJoins, getQuerySpaces, getUid
-
-
-
-
构造器详细资料
-
CollectionQuerySpaceImpl
public CollectionQuerySpaceImpl(CollectionPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
-
-
方法详细资料
-
getCollectionPersister
public CollectionPersister getCollectionPersister()
从接口复制的说明:CollectionQuerySpaceRetrieve the collection persister this QuerySpace refers to.- 指定者:
getCollectionPersister在接口中CollectionQuerySpace- 返回:
- The collection persister.
-
getPropertyMapping
public PropertyMapping getPropertyMapping()
从接口复制的说明:QuerySpaceGet thePropertyMappingfor this QuerySpace.- 指定者:
getPropertyMapping在接口中QuerySpace- 返回:
- The PropertyMapping
-
toAliasedColumns
public String[] toAliasedColumns(String alias, String propertyName)
从接口复制的说明:QuerySpaceGet the aliased column names for the specified property in the query space..- 指定者:
toAliasedColumns在接口中QuerySpace- 参数:
alias- - the table aliaspropertyName- - the property name- 返回:
- the aliased column names for the specified property
-
addJoin
public void addJoin(Join join)
从接口复制的说明:ExpandingCollectionQuerySpaceAdds 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在接口中ExpandingCollectionQuerySpace- 指定者:
addJoin在接口中ExpandingQuerySpace- 参数:
join- The element or index join to add.
-
getExpandingQuerySpaces
public ExpandingQuerySpaces getExpandingQuerySpaces()
- 指定者:
getExpandingQuerySpaces在接口中ExpandingQuerySpace- 覆盖:
getExpandingQuerySpaces在类中AbstractQuerySpace
-
addJoin
public void addJoin(JoinDefinedByMetadata join)
-
-