Class AbstractNonJoinedEntityFetch
java.lang.Object
org.hibernate.sql.results.graph.entity.internal.AbstractNonJoinedEntityFetch
- All Implemented Interfaces:
DomainResultGraphNode
,EntityFetch
,EntityResultGraphNode
,Fetch
,FetchParent
,InitializerProducer<AbstractNonJoinedEntityFetch>
- Direct Known Subclasses:
CircularFetchImpl
,EntityDelayedFetchImpl
,EntityFetchSelectImpl
public abstract class AbstractNonJoinedEntityFetch
extends Object
implements EntityFetch, InitializerProducer<AbstractNonJoinedEntityFetch>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionAbstractNonJoinedEntityFetch
(NavigablePath navigablePath, ToOneAttributeMapping fetchedModelPart, FetchParent fetchParent, DomainResult<?> keyResult, boolean selectDiscriminator, boolean selectByUniqueKey, DomainResultCreationState creationState) protected
AbstractNonJoinedEntityFetch
(NavigablePath navigablePath, ToOneAttributeMapping fetchedModelPart, FetchParent fetchParent, DomainResult<?> keyResult, BasicFetch<?> discriminatorFetch, boolean selectByUniqueKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityAssembler<?>
buildEntityAssembler
(EntityInitializer<?> entityInitializer) Used By Hibernate Reactivevoid
collectValueIndexesToCache
(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.boolean
createAssembler
(InitializerParent<?> parent, AssemblerCreationState creationState) Create the assembler for this fetchcreateInitializer
(AbstractNonJoinedEntityFetch resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) abstract EntityInitializer<?>
createInitializer
(InitializerParent<?> parent, AssemblerCreationState creationState) BasicFetch<?>
The value mapping being fetchedRetrieve the fetches owned by this fetch source.Obtain the owner of this fetch.DomainResult<?>
The NavigablePath for this node (if one!).This parent's mapping typeboolean
boolean
Is the TableGroup associated with this Fetch defined?boolean
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, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
Method Details
-
getFetchedMapping
Description copied from interface:Fetch
The value mapping being fetched- Specified by:
getFetchedMapping
in interfaceFetch
-
getEntityValuedModelPart
- Specified by:
getEntityValuedModelPart
in interfaceEntityResultGraphNode
-
getFetchParent
Description copied from interface:Fetch
Obtain the owner of this fetch. Ultimately used to identify the thing that "owns" this fetched navigable for the purpose of:* identifying the associated owner reference as we process the fetch * inject the fetched instance into the parent and potentially inject the parent reference into the fetched instance if it defines such injection (e.g.
Parent
)- Specified by:
getFetchParent
in interfaceFetch
-
getFetches
Description copied from interface:FetchParent
Retrieve the fetches owned by this fetch source.- Specified by:
getFetches
in interfaceFetchParent
-
findFetch
- Specified by:
findFetch
in interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()- Specified by:
hasJoinFetches
in interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()- Specified by:
containsCollectionFetches
in interfaceFetchParent
-
hasTableGroup
public boolean hasTableGroup()Description copied from interface:Fetch
Is the TableGroup associated with this Fetch defined?- Specified by:
hasTableGroup
in interfaceFetch
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNode
Collect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCache
in interfaceDomainResultGraphNode
- Specified by:
collectValueIndexesToCache
in interfaceEntityFetch
- Specified by:
collectValueIndexesToCache
in interfaceFetchParent
-
getReferencedMappingType
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getKeyResult
-
getDiscriminatorFetch
-
isSelectByUniqueKey
public boolean isSelectByUniqueKey() -
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:Fetch
Create the assembler for this fetch- Specified by:
createAssembler
in interfaceFetch
-
createInitializer
public EntityInitializer<?> createInitializer(AbstractNonJoinedEntityFetch resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializer
in interfaceInitializerProducer<AbstractNonJoinedEntityFetch>
-
createInitializer
public abstract EntityInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializer
in interfaceFetchParent
-
buildEntityAssembler
Used By Hibernate Reactive