public class EntityLoadQueryDetails extends AbstractLoadQueryDetails
AbstractLoadQueryDetails.ReaderCollectorImpl
Modifier | Constructor and Description |
---|---|
protected |
EntityLoadQueryDetails(EntityLoadQueryDetails initialEntityLoadQueryDetails,
QueryBuildingParameters buildingParameters) |
protected |
EntityLoadQueryDetails(LoadPlan loadPlan,
String[] keyColumnNames,
AliasResolutionContextImpl aliasResolutionContext,
EntityReturn rootReturn,
QueryBuildingParameters buildingParameters,
SessionFactoryImplementor factory)
Constructs a EntityLoadQueryDetails object from the given inputs.
|
generate, getAliasResolutionContext, getKeyColumnNames, getLoadPlan, 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 EntityLoadQueryDetails(EntityLoadQueryDetails initialEntityLoadQueryDetails, QueryBuildingParameters buildingParameters)
public boolean hasCollectionInitializers()
protected 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 boolean isSubselectLoadingEnabled(FetchStats fetchStats)
AbstractLoadQueryDetails
isSubselectLoadingEnabled
in class AbstractLoadQueryDetails
fetchStats
- the fetch stats; may be nulltrue
if subselect loading is enabled; false
otherwise.protected boolean shouldUseOptionalEntityInstance()
shouldUseOptionalEntityInstance
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 © 2019 JBoss by Red Hat. All rights reserved.