Class EntityFetchSelectImpl
- java.lang.Object
-
- org.hibernate.sql.results.graph.entity.internal.AbstractNonJoinedEntityFetch
-
- org.hibernate.sql.results.graph.entity.internal.EntityFetchSelectImpl
-
- All Implemented Interfaces:
DomainResultGraphNode
,EntityFetch
,EntityResultGraphNode
,Fetch
,FetchParent
public class EntityFetchSelectImpl extends AbstractNonJoinedEntityFetch
An eager entity fetch performed as a subsequent (n+1) select
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntityFetchSelectImpl(EntityFetchSelectImpl original)
For Hibernate ReactiveEntityFetchSelectImpl(FetchParent fetchParent, ToOneAttributeMapping fetchedAttribute, NavigablePath navigablePath, DomainResult<?> keyResult, boolean selectByUniqueKey, DomainResultCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DomainResultAssembler<?>
buildEntityAssembler(Initializer initializer)
protected Initializer
buildEntitySelectFetchInitializer(FetchParentAccess parentAccess, ToOneAttributeMapping fetchedMapping, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState)
DomainResultAssembler<?>
createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create the assembler for this fetchFetchTiming
getTiming()
immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?boolean
hasTableGroup()
Is the TableGroup associated with this Fetch defined?-
Methods inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractNonJoinedEntityFetch
containsCollectionFetches, findFetch, getEntityValuedModelPart, getFetchedMapping, getFetches, getFetchParent, getNavigablePath, getReferencedMappingType, hasJoinFetches
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityFetch
asFetchParent, containsAnyNonScalarResults
-
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityResultGraphNode
appliesTo, getReferencedMappingContainer, getResultJavaType
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
EntityFetchSelectImpl
public EntityFetchSelectImpl(FetchParent fetchParent, ToOneAttributeMapping fetchedAttribute, NavigablePath navigablePath, DomainResult<?> keyResult, boolean selectByUniqueKey, DomainResultCreationState creationState)
-
EntityFetchSelectImpl
protected EntityFetchSelectImpl(EntityFetchSelectImpl original)
For Hibernate Reactive
-
-
Method Detail
-
getTiming
public FetchTiming getTiming()
Description copied from interface:Fetch
immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?
-
hasTableGroup
public boolean hasTableGroup()
Description copied from interface:Fetch
Is the TableGroup associated with this Fetch defined?
-
createAssembler
public DomainResultAssembler<?> createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:Fetch
Create the assembler for this fetch
-
buildEntitySelectFetchInitializer
protected Initializer buildEntitySelectFetchInitializer(FetchParentAccess parentAccess, ToOneAttributeMapping fetchedMapping, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState)
-
buildEntityAssembler
protected DomainResultAssembler<?> buildEntityAssembler(Initializer initializer)
-
-