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 processingselect
- The SelectStatementBuilderhelper
- The Join/Fetch helperfactory
- The SessionFactorybuildingParameters
- The query building contextrootAlias
- The table alias to userootLoadable
- The persisterreaderCollector
- Collector for EntityReferenceInitializer and CollectionReferenceInitializer referencesprotected QuerySpace getQuerySpace(String querySpaceUid)
public String getSqlStatement()
getSqlStatement
in interface LoadQueryDetails
public ResultSetProcessor getResultSetProcessor()
getResultSetProcessor
in interface LoadQueryDetails
protected final Return getRootReturn()
protected final AliasResolutionContext getAliasResolutionContext()
protected final QueryBuildingParameters getQueryBuildingParameters()
protected final SessionFactoryImplementor getSessionFactory()
protected void generate()
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-2015 Red Hat, Inc. All Rights Reserved.