public class EntityLoadQueryDetails extends AbstractLoadQueryDetails
AbstractLoadQueryDetails.ReaderCollectorImpl| Modifier | Constructor and Description |
|---|---|
protected |
EntityLoadQueryDetails(EntityLoadQueryDetails initialEntityLoadQueryDetails,
QueryBuildingParameters buildingParameters)
Constructs an EntityLoadQueryDetails object from an initial object and new building parameters,
with the guarantee that only batch size changed between the initial parameters and the new ones.
|
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, getSqlStatementprotected 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)
initialEntityLoadQueryDetails - The initial object to be copiedbuildingParameters - The new building parameters, with only the batch size being different
from the parameters used in the initial object.public boolean hasCollectionInitializers()
protected void applyRootReturnTableFragments(SelectStatementBuilder select)
applyRootReturnTableFragments in class AbstractLoadQueryDetailsselect - The SELECT statement builderOuterJoinLoadable.fromTableFragment(java.lang.String),
Joinable.fromJoinFragment(java.lang.String, boolean, boolean)protected void applyRootReturnFilterRestrictions(SelectStatementBuilder selectStatementBuilder)
applyRootReturnFilterRestrictions in class AbstractLoadQueryDetailsprotected void applyRootReturnWhereJoinRestrictions(SelectStatementBuilder selectStatementBuilder)
applyRootReturnWhereJoinRestrictions in class AbstractLoadQueryDetailsprotected void applyRootReturnOrderByFragments(SelectStatementBuilder selectStatementBuilder)
applyRootReturnOrderByFragments in class AbstractLoadQueryDetailsprotected boolean isSubselectLoadingEnabled(FetchStats fetchStats)
AbstractLoadQueryDetailsisSubselectLoadingEnabled in class AbstractLoadQueryDetailsfetchStats - the fetch stats; may be nulltrue if subselect loading is enabled; false otherwise.protected boolean shouldUseOptionalEntityInstance()
shouldUseOptionalEntityInstance in class AbstractLoadQueryDetailsprotected ReaderCollector getReaderCollector()
getReaderCollector in class AbstractLoadQueryDetailsprotected QuerySpace getRootQuerySpace()
getRootQuerySpace in class AbstractLoadQueryDetailsprotected String getRootTableAlias()
getRootTableAlias in class AbstractLoadQueryDetailsprotected boolean shouldApplyRootReturnFilterBeforeKeyRestriction()
shouldApplyRootReturnFilterBeforeKeyRestriction in class AbstractLoadQueryDetailsprotected void applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)
applyRootReturnSelectFragments in class AbstractLoadQueryDetailsCopyright © 2019 JBoss by Red Hat. All rights reserved.