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) protectedAbstractNonJoinedEntityFetch(NavigablePath navigablePath, ToOneAttributeMapping fetchedModelPart, FetchParent fetchParent, DomainResult<?> keyResult, BasicFetch<?> discriminatorFetch, boolean selectByUniqueKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityAssembler<?>buildEntityAssembler(EntityInitializer<?> entityInitializer) Used By Hibernate ReactivevoidcollectValueIndexesToCache(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.booleancreateAssembler(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 typebooleanbooleanIs the TableGroup associated with this Fetch defined?booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.graph.entity.EntityFetch
asFetchParent, containsAnyNonScalarResultsMethods inherited from interface org.hibernate.sql.results.graph.entity.EntityResultGraphNode
appliesTo, getReferencedMappingContainer, getResultJavaTypeMethods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
Method Details
-
getFetchedMapping
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
getEntityValuedModelPart
- Specified by:
getEntityValuedModelPartin interfaceEntityResultGraphNode
-
getFetchParent
Description copied from interface:FetchObtain 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:
getFetchParentin interfaceFetch
-
getFetches
Description copied from interface:FetchParentRetrieve the fetches owned by this fetch source.- Specified by:
getFetchesin interfaceFetchParent
-
findFetch
- Specified by:
findFetchin interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()- Specified by:
hasJoinFetchesin interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()- Specified by:
containsCollectionFetchesin interfaceFetchParent
-
hasTableGroup
public boolean hasTableGroup()Description copied from interface:FetchIs the TableGroup associated with this Fetch defined?- Specified by:
hasTableGroupin interfaceFetch
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode- Specified by:
collectValueIndexesToCachein interfaceEntityFetch- Specified by:
collectValueIndexesToCachein interfaceFetchParent
-
getReferencedMappingType
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getKeyResult
-
getDiscriminatorFetch
-
isSelectByUniqueKey
public boolean isSelectByUniqueKey() -
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch
-
createInitializer
public EntityInitializer<?> createInitializer(AbstractNonJoinedEntityFetch resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceInitializerProducer<AbstractNonJoinedEntityFetch>
-
createInitializer
public abstract EntityInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceFetchParent
-
buildEntityAssembler
Used By Hibernate Reactive