类 AbstractLoadQueryDetails
- java.lang.Object
-
- org.hibernate.loader.plan.exec.internal.AbstractLoadQueryDetails
-
- 所有已实现的接口:
LoadQueryDetails
public abstract class AbstractLoadQueryDetails extends Object implements LoadQueryDetails
- 作者:
- Gail Badner
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static classAbstractLoadQueryDetails.ReaderCollectorImpl
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractLoadQueryDetails(LoadPlan loadPlan, AliasResolutionContextImpl aliasResolutionContext, QueryBuildingParameters buildingParameters, String[] keyColumnNames, Return rootReturn, SessionFactoryImplementor factory)
-
方法概要
-
-
-
构造器详细资料
-
AbstractLoadQueryDetails
protected AbstractLoadQueryDetails(LoadPlan loadPlan, AliasResolutionContextImpl aliasResolutionContext, QueryBuildingParameters buildingParameters, String[] keyColumnNames, Return rootReturn, SessionFactoryImplementor factory)
- 参数:
rootReturn- The root return reference we are processingfactory- The SessionFactorybuildingParameters- The query building context
-
-
方法详细资料
-
getQuerySpace
protected QuerySpace getQuerySpace(String querySpaceUid)
-
getSqlStatement
public String getSqlStatement()
- 指定者:
getSqlStatement在接口中LoadQueryDetails
-
getResultSetProcessor
public ResultSetProcessor getResultSetProcessor()
- 指定者:
getResultSetProcessor在接口中LoadQueryDetails
-
getRootReturn
protected final Return getRootReturn()
-
getAliasResolutionContext
protected final AliasResolutionContext getAliasResolutionContext()
-
getQueryBuildingParameters
protected final QueryBuildingParameters getQueryBuildingParameters()
-
getSessionFactory
protected final SessionFactoryImplementor getSessionFactory()
-
getLoadPlan
protected LoadPlan getLoadPlan()
-
getKeyColumnNames
protected String[] getKeyColumnNames()
-
generate
protected void generate()
Main entry point for properly handling the FROM clause and and joins and restrictions
-
isSubselectLoadingEnabled
protected abstract boolean isSubselectLoadingEnabled(FetchStats fetchStats)
Is subselect loading enabled?- 参数:
fetchStats- the fetch stats; may be null- 返回:
trueif subselect loading is enabled;falseotherwise.
-
shouldUseOptionalEntityInstance
protected abstract boolean shouldUseOptionalEntityInstance()
-
getReaderCollector
protected abstract ReaderCollector getReaderCollector()
-
getRootQuerySpace
protected abstract QuerySpace getRootQuerySpace()
-
getRootTableAlias
protected abstract String getRootTableAlias()
-
shouldApplyRootReturnFilterBeforeKeyRestriction
protected abstract boolean shouldApplyRootReturnFilterBeforeKeyRestriction()
-
applyRootReturnSelectFragments
protected abstract void applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnTableFragments
protected abstract void applyRootReturnTableFragments(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnFilterRestrictions
protected abstract void applyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnWhereJoinRestrictions
protected abstract void applyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder)
-
applyRootReturnOrderByFragments
protected abstract void applyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder)
-
-