类 AbstractCollectionLoadQueryDetails
- java.lang.Object
-
- org.hibernate.loader.plan.exec.internal.AbstractLoadQueryDetails
-
- org.hibernate.loader.plan.exec.internal.AbstractCollectionLoadQueryDetails
-
- 所有已实现的接口:
LoadQueryDetails
public abstract class AbstractCollectionLoadQueryDetails extends AbstractLoadQueryDetails
Handles interpreting a LoadPlan (for loading of a collection) by:- generating the SQL query to perform
- creating the readers needed to read the results from the SQL's ResultSet
- 作者:
- Gail Badner
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.hibernate.loader.plan.exec.internal.AbstractLoadQueryDetails
AbstractLoadQueryDetails.ReaderCollectorImpl
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractCollectionLoadQueryDetails(LoadPlan loadPlan, AliasResolutionContextImpl aliasResolutionContext, CollectionReturn rootReturn, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidapplyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder)protected voidapplyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder)protected voidapplyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)protected voidapplyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder)protected CollectionReferenceAliasesgetCollectionReferenceAliases()protected QueryableCollectiongetQueryableCollection()protected ReaderCollectorgetReaderCollector()protected CollectionReturngetRootCollectionReturn()protected CollectionQuerySpacegetRootQuerySpace()protected booleanisSubselectLoadingEnabled(FetchStats fetchStats)Is subselect loading enabled?protected booleanshouldApplyRootReturnFilterBeforeKeyRestriction()protected booleanshouldUseOptionalEntityInstance()-
从类继承的方法 org.hibernate.loader.plan.exec.internal.AbstractLoadQueryDetails
applyRootReturnTableFragments, generate, getAliasResolutionContext, getKeyColumnNames, getLoadPlan, getQueryBuildingParameters, getQuerySpace, getResultSetProcessor, getRootReturn, getRootTableAlias, getSessionFactory, getSqlStatement
-
-
-
-
构造器详细资料
-
AbstractCollectionLoadQueryDetails
protected AbstractCollectionLoadQueryDetails(LoadPlan loadPlan, AliasResolutionContextImpl aliasResolutionContext, CollectionReturn rootReturn, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
-
-
方法详细资料
-
getRootCollectionReturn
protected CollectionReturn getRootCollectionReturn()
-
isSubselectLoadingEnabled
protected boolean isSubselectLoadingEnabled(FetchStats fetchStats)
从类复制的说明:AbstractLoadQueryDetailsIs subselect loading enabled?- 指定者:
isSubselectLoadingEnabled在类中AbstractLoadQueryDetails- 参数:
fetchStats- the fetch stats; may be null- 返回:
trueif subselect loading is enabled;falseotherwise.
-
shouldUseOptionalEntityInstance
protected boolean shouldUseOptionalEntityInstance()
-
getReaderCollector
protected ReaderCollector getReaderCollector()
-
getRootQuerySpace
protected CollectionQuerySpace getRootQuerySpace()
-
getCollectionReferenceAliases
protected CollectionReferenceAliases getCollectionReferenceAliases()
-
getQueryableCollection
protected QueryableCollection getQueryableCollection()
-
shouldApplyRootReturnFilterBeforeKeyRestriction
protected boolean shouldApplyRootReturnFilterBeforeKeyRestriction()
-
applyRootReturnSelectFragments
protected void applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnFilterRestrictions
protected void applyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnWhereJoinRestrictions
protected void applyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnOrderByFragments
protected void applyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder)
-
-