Class EntityFetchJoinedImpl
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- org.hibernate.sql.results.graph.entity.internal.EntityFetchJoinedImpl
-
- All Implemented Interfaces:
DomainResultGraphNode,EntityFetch,EntityResultGraphNode,Fetch,FetchParent,InitializerProducer<EntityFetchJoinedImpl>
public class EntityFetchJoinedImpl extends AbstractFetchParent implements EntityFetch, InitializerProducer<EntityFetchJoinedImpl>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityFetchJoinedImpl(EntityFetchJoinedImpl original)For Hibernate ReactiveEntityFetchJoinedImpl(FetchParent fetchParent, EntityCollectionPart collectionPart, TableGroup tableGroup, NavigablePath navigablePath, DomainResultCreationState creationState)EntityFetchJoinedImpl(FetchParent fetchParent, ToOneAttributeMapping toOneMapping, TableGroup tableGroup, DomainResult<?> keyResult, NavigablePath navigablePath, DomainResultCreationState creationState)
-
Method Summary
-
Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParent
afterInitialize, findFetch, getFetches, getNavigablePath, getResultJavaType, hasJoinFetches, resetFetches
-
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, getNavigablePath, getResultJavaType
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetch
getNavigablePath
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
findFetch, generateFetchableFetch, getFetches, getRoot, hasJoinFetches, resolveNavigablePath
-
-
-
-
Constructor Detail
-
EntityFetchJoinedImpl
public EntityFetchJoinedImpl(FetchParent fetchParent, ToOneAttributeMapping toOneMapping, TableGroup tableGroup, DomainResult<?> keyResult, NavigablePath navigablePath, DomainResultCreationState creationState)
-
EntityFetchJoinedImpl
public EntityFetchJoinedImpl(FetchParent fetchParent, EntityCollectionPart collectionPart, TableGroup tableGroup, NavigablePath navigablePath, DomainResultCreationState creationState)
-
EntityFetchJoinedImpl
protected EntityFetchJoinedImpl(EntityFetchJoinedImpl original)
For Hibernate Reactive
-
-
Method Detail
-
getEntityValuedModelPart
public EntityValuedFetchable getEntityValuedModelPart()
- Specified by:
getEntityValuedModelPartin interfaceEntityResultGraphNode
-
getFetchContainer
public FetchableContainer getFetchContainer()
- Specified by:
getFetchContainerin classAbstractFetchParent
-
getReferencedModePart
public EntityValuedFetchable 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
public EntityValuedFetchable getReferencedMappingType()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getReferencedMappingContainer
public EntityMappingType getReferencedMappingContainer()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceEntityResultGraphNode- Specified by:
getReferencedMappingContainerin interfaceFetchParent- Overrides:
getReferencedMappingContainerin classAbstractFetchParent
-
getFetchedMapping
public EntityValuedFetchable getFetchedMapping()
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
getFetchParent
public FetchParent 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(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch
-
buildEntityAssembler
protected EntityAssembler buildEntityAssembler(EntityInitializer entityInitializer)
-
createInitializer
public Initializer createInitializer(EntityFetchJoinedImpl resultGraphNode, FetchParentAccess parentAccess, AssemblerCreationState creationState)
- Specified by:
createInitializerin interfaceInitializerProducer<EntityFetchJoinedImpl>
-
createInitializer
public EntityInitializer createInitializer(FetchParentAccess parentAccess, AssemblerCreationState creationState)
- Specified by:
createInitializerin interfaceFetchParent
-
getTiming
public FetchTiming 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
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetchesin interfaceFetchParent- Overrides:
containsCollectionFetchesin classAbstractFetchParent
-
getEntityResult
public EntityResultImpl getEntityResult()
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
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- Overrides:
collectValueIndexesToCachein classAbstractFetchParent
-
getKeyResult
protected DomainResult<?> getKeyResult()
-
getNotFoundAction
protected NotFoundAction getNotFoundAction()
-
getSourceAlias
protected String getSourceAlias()
-
-