public abstract class AbstractLoadQueryDetails extends Object implements LoadQueryDetails
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractLoadQueryDetails.ReaderCollectorImpl |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLoadQueryDetails(LoadPlan loadPlan,
AliasResolutionContextImpl aliasResolutionContext,
QueryBuildingParameters buildingParameters,
String[] keyColumnNames,
Return rootReturn,
SessionFactoryImplementor factory) |
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 contextprotected QuerySpace getQuerySpace(String querySpaceUid)
public String getSqlStatement()
getSqlStatement in interface LoadQueryDetailspublic ResultSetProcessor getResultSetProcessor()
getResultSetProcessor in interface LoadQueryDetailsprotected final Return getRootReturn()
protected final AliasResolutionContext getAliasResolutionContext()
protected final QueryBuildingParameters getQueryBuildingParameters()
protected final SessionFactoryImplementor getSessionFactory()
protected void generate()
protected abstract boolean isSubselectLoadingEnabled(FetchStats fetchStats)
fetchStats - the fetch stats; may be nulltrue if subselect loading is enabled; false otherwise.protected abstract boolean shouldUseOptionalEntityInstance()
protected abstract ReaderCollector getReaderCollector()
protected abstract QuerySpace getRootQuerySpace()
protected abstract String getRootTableAlias()
protected abstract boolean shouldApplyRootReturnFilterBeforeKeyRestriction()
protected abstract void applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)
protected abstract void applyRootReturnTableFragments(SelectStatementBuilder selectStatementBuilder)
protected abstract void applyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder)
protected abstract void applyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder)
protected abstract void applyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.