Class EntityFetchJoinedImpl
java.lang.Object
org.hibernate.sql.results.graph.entity.internal.EntityFetchJoinedImpl
- All Implemented Interfaces:
DomainResultGraphNode,EntityFetch,EntityResultGraphNode,Fetch,FetchParent,InitializerProducer<EntityFetchJoinedImpl>
public class EntityFetchJoinedImpl
extends Object
implements EntityFetch, FetchParent, InitializerProducer<EntityFetchJoinedImpl>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntityFetchJoinedImpl(EntityFetchJoinedImpl original) For Hibernate ReactiveEntityFetchJoinedImpl(FetchParent fetchParent, EntityCollectionPart collectionPart, TableGroup tableGroup, NavigablePath navigablePath, DomainResultCreationState creationState) EntityFetchJoinedImpl(FetchParent fetchParent, ToOneAttributeMapping toOneMapping, TableGroup tableGroup, DomainResult<?> keyResult, boolean isAffectedByFilter, NavigablePath navigablePath, DomainResultCreationState creationState) -
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 fetchInitializer<?>createInitializer(EntityFetchJoinedImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) The value mapping being fetchedRetrieve the fetches owned by this fetch source.Obtain the owner of this fetch.protected DomainResult<?>The NavigablePath for this node (if one!).protected NotFoundActionThis parent's mapping typeWhereasFetchParent.getReferencedMappingContainer()andFetchParent.getReferencedMappingType()return the referenced container type, this method returns the referenced part.protected Stringimmediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?booleanbooleanIs the TableGroup associated with this Fetch defined?protected 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, getRoot, resolveNavigablePath
-
Constructor Details
-
EntityFetchJoinedImpl
For Hibernate Reactive
-
Method Details
-
getEntityValuedModelPart
- Specified by:
getEntityValuedModelPartin interfaceEntityResultGraphNode
-
getReferencedModePart
Description copied from interface:FetchParentWhereasFetchParent.getReferencedMappingContainer()andFetchParent.getReferencedMappingType()return the referenced container type, this method returns the referenced part. E.g. for a many-to-one this method returns theToOneAttributeMappingwhileFetchParent.getReferencedMappingContainer()andFetchParent.getReferencedMappingType()return the referencedEntityMappingType.- Specified by:
getReferencedModePartin interfaceFetchParent
-
getReferencedMappingType
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getFetchedMapping
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
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
-
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch
-
buildEntityAssembler
Used by Hibernate Reactive -
createInitializer
public Initializer<?> createInitializer(EntityFetchJoinedImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceInitializerProducer<EntityFetchJoinedImpl>
-
createInitializer
public EntityInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceFetchParent
-
getTiming
Description copied from interface:Fetchimmediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options? -
hasTableGroup
public boolean hasTableGroup()Description copied from interface:FetchIs the TableGroup associated with this Fetch defined?- Specified by:
hasTableGroupin interfaceFetch
-
getEntityResult
-
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
-
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
-
getKeyResult
-
getNotFoundAction
-
isAffectedByFilter
protected boolean isAffectedByFilter() -
getSourceAlias
-