Joins and Fetches.
Exposes 2 main methods:
| Modifier and Type | Class and Description |
|---|---|
| private static class | LoadQueryJoinAndFetchProcessor.FetchStatsImpl
Implementation of FetchStats |
| Modifier and Type | Field and Description |
|---|---|
| private final AliasResolutionContextImpl | |
| private final QueryBuildingParameters | |
| private final SessionFactoryImplementor | factory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | LoadQueryJoinAndFetchProcessor(AliasResolutionContextImpl aliasResolutionContext, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
Deprecated
as a consequence of
Instantiates a LoadQueryJoinAndFetchProcessor with the given information
SessionFactoryImplementor being deprecated.
|
| aliasResolutionContext | back to summary |
|---|---|
| private final AliasResolutionContextImpl aliasResolutionContext | |
| buildingParameters | back to summary |
|---|---|
| private final QueryBuildingParameters buildingParameters | |
| factory | back to summary |
|---|---|
| private final SessionFactoryImplementor factory
Deprecated as a consequence of | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| LoadQueryJoinAndFetchProcessor | back to summary |
|---|---|
| public LoadQueryJoinAndFetchProcessor(AliasResolutionContextImpl aliasResolutionContext, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
Deprecated as a consequence of Instantiates a LoadQueryJoinAndFetchProcessor with the given information | |
| addJoins | back to summary |
|---|---|
| private void addJoins(Join join, JoinFragment joinFragment, Joinable joinable, String joinConditions) | |
| getAliasResolutionContext | back to summary |
|---|---|
| public AliasResolutionContext getAliasResolutionContext() | |
| getJoinedAssociationTypeOrNull | back to summary |
|---|---|
| private AssociationType getJoinedAssociationTypeOrNull(Join join) | |
| getQueryBuildingParameters | back to summary |
|---|---|
| public QueryBuildingParameters getQueryBuildingParameters() | |
| getSessionFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getSessionFactory()
Deprecated as a consequence of | |
| handleCompositeJoin | back to summary |
|---|---|
| private void handleCompositeJoin(Join join, JoinFragment joinFragment) | |
| processCollectionFetch | back to summary |
|---|---|
| private void processCollectionFetch(SelectStatementBuilder selectStatementBuilder, FetchSource fetchSource, CollectionAttributeFetch fetch, ReaderCollector readerCollector, LoadQueryJoinAndFetchProcessor. | |
| processEntityFetch | back to summary |
|---|---|
| private void processEntityFetch(SelectStatementBuilder selectStatementBuilder, FetchSource fetchSource, EntityFetch fetch, ReaderCollector readerCollector, LoadQueryJoinAndFetchProcessor. | |
| processFetch | back to summary |
|---|---|
| private void processFetch(SelectStatementBuilder selectStatementBuilder, FetchSource fetchSource, Fetch fetch, ReaderCollector readerCollector, LoadQueryJoinAndFetchProcessor. | |
| processFetches | back to summary |
|---|---|
| public FetchStats processFetches(FetchSource fetchSource, SelectStatementBuilder selectStatementBuilder, ReaderCollector readerCollector) | |
| processFetches | back to summary |
|---|---|
| private void processFetches(FetchSource fetchSource, SelectStatementBuilder selectStatementBuilder, ReaderCollector readerCollector, LoadQueryJoinAndFetchProcessor. | |
| processQuerySpaceJoin | back to summary |
|---|---|
| private void processQuerySpaceJoin(Join join, JoinFragment joinFragment) | |
| processQuerySpaceJoins | back to summary |
|---|---|
| public void processQuerySpaceJoins(QuerySpace querySpace, SelectStatementBuilder selectStatementBuilder) | |
| processQuerySpaceJoins | back to summary |
|---|---|
| private void processQuerySpaceJoins(QuerySpace querySpace, JoinFragment joinFragment) | |
| renderCollectionJoin | back to summary |
|---|---|
| private void renderCollectionJoin(Join join, JoinFragment joinFragment) | |
| renderEntityJoin | back to summary |
|---|---|
| private void renderEntityJoin(Join join, JoinFragment joinFragment) | |
| renderJoin | back to summary |
|---|---|
| private void renderJoin(Join join, JoinFragment joinFragment) | |
| renderManyToManyJoin | back to summary |
|---|---|
| private void renderManyToManyJoin(Join join, JoinFragment joinFragment) | |
| resolveAdditionalJoinCondition | back to summary |
|---|---|
| private String resolveAdditionalJoinCondition(String rhsTableAlias, String withClause, Joinable joinable, AssociationType associationType) | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Set | getJoinedBagAttributeFetches()
Implements org. |
| public boolean | hasSubselectFetches()
Implements org. |
| private boolean | |
| public void |
| hasSubselectFetch | back to summary |
|---|---|
| private boolean hasSubselectFetch | |
| joinedBagAttributeFetches | back to summary |
|---|---|
| private Set<CollectionAttributeFetch> joinedBagAttributeFetches | |
| FetchStatsImpl | back to summary |
|---|---|
| private FetchStatsImpl() | |
| getJoinedBagAttributeFetches | back to summary |
|---|---|
| public Set Implements org. Doc from org. Returns a set of bag attributes that are join-fetched.
| |
| hasSubselectFetches | back to summary |
|---|---|
| public boolean hasSubselectFetches() Implements org. Doc from org. Were any subselect fetches encountered?
| |
| isJoinFetchedBag | back to summary |
|---|---|
| private boolean isJoinFetchedBag(Fetch fetch) | |
| processingFetch | back to summary |
|---|---|
| public void processingFetch(Fetch fetch) | |