public class EntityLoadQueryDetails extends AbstractLoadQueryDetails
AbstractLoadQueryDetails.ReaderCollectorImpl| Modifier | Constructor and Description |
|---|---|
protected |
EntityLoadQueryDetails(EntityLoadQueryDetails initialEntityLoadQueryDetails,
QueryBuildingParameters buildingParameters) |
protected |
EntityLoadQueryDetails(LoadPlan loadPlan,
java.lang.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 java.lang.String |
getRootTableAlias() |
boolean |
hasCollectionInitializers() |
protected boolean |
isSubselectLoadingEnabled(FetchStats fetchStats)
Is subselect loading enabled?
|
protected boolean |
shouldApplyRootReturnFilterBeforeKeyRestriction() |
protected boolean |
shouldUseOptionalEntityInstance() |
generate, getAliasResolutionContext, getKeyColumnNames, getLoadPlan, getQueryBuildingParameters, getQuerySpace, getResultSetProcessor, getRootReturn, getSessionFactory, getSqlStatementprotected EntityLoadQueryDetails(LoadPlan loadPlan, java.lang.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 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 java.lang.String getRootTableAlias()
getRootTableAlias in class AbstractLoadQueryDetailsprotected boolean shouldApplyRootReturnFilterBeforeKeyRestriction()
shouldApplyRootReturnFilterBeforeKeyRestriction in class AbstractLoadQueryDetailsprotected void applyRootReturnSelectFragments(SelectStatementBuilder selectStatementBuilder)
applyRootReturnSelectFragments in class AbstractLoadQueryDetailsCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.