public class EntityLoadQueryDetails extends AbstractLoadQueryDetails
AbstractLoadQueryDetails.ReaderCollectorImpl
Modifier | Constructor and Description |
---|---|
protected |
EntityLoadQueryDetails(LoadPlan loadPlan,
String[] keyColumnNames,
AliasResolutionContextImpl aliasResolutionContext,
EntityReturn rootReturn,
QueryBuildingParameters buildingParameters,
SessionFactoryImplementor factory)
Constructs a EntityLoadQueryDetails object from the given inputs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder) |
protected void |
applyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder) |
protected void |
applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder) |
protected void |
applyRootReturnTableFragments(SelectStatementBuilder select)
Applies "table fragments" to the FROM-CLAUSE of the given SelectStatementBuilder for the given Loadable
|
protected void |
applyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder) |
protected ReaderCollector |
getReaderCollector() |
protected QuerySpace |
getRootQuerySpace() |
protected String |
getRootTableAlias() |
protected boolean |
shouldApplyRootReturnFilterBeforeKeyRestriction() |
generate, getAliasResolutionContext, getQueryBuildingParameters, getQuerySpace, getResultSetProcessor, getRootReturn, getSessionFactory, getSqlStatement
protected EntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, AliasResolutionContextImpl aliasResolutionContext, EntityReturn rootReturn, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
loadPlan
- The load plankeyColumnNames
- The columns to load the entity by (the PK columns or some other unique set of columns)buildingParameters
- And influencers that would affect the generated SQL (mostly we are concerned with those
that add additional joins here)factory
- The SessionFactoryprotected void applyRootReturnTableFragments(SelectStatementBuilder select)
applyRootReturnTableFragments
in class AbstractLoadQueryDetails
select
- The SELECT statement builderOuterJoinLoadable.fromTableFragment(java.lang.String)
,
Joinable.fromJoinFragment(java.lang.String, boolean, boolean)
protected void applyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder)
applyRootReturnFilterRestrictions
in class AbstractLoadQueryDetails
protected void applyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder)
applyRootReturnWhereJoinRestrictions
in class AbstractLoadQueryDetails
protected void applyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder)
applyRootReturnOrderByFragments
in class AbstractLoadQueryDetails
protected ReaderCollector getReaderCollector()
getReaderCollector
in class AbstractLoadQueryDetails
protected QuerySpace getRootQuerySpace()
getRootQuerySpace
in class AbstractLoadQueryDetails
protected String getRootTableAlias()
getRootTableAlias
in class AbstractLoadQueryDetails
protected boolean shouldApplyRootReturnFilterBeforeKeyRestriction()
shouldApplyRootReturnFilterBeforeKeyRestriction
in class AbstractLoadQueryDetails
protected void applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)
applyRootReturnSelectFragments
in class AbstractLoadQueryDetails
Copyright © 2016 JBoss by Red Hat. All rights reserved.