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 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 © 2016 JBoss by Red Hat. All rights reserved.