Class AbstractNonLazyEntityFetch
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- org.hibernate.sql.results.graph.entity.AbstractNonLazyEntityFetch
-
- All Implemented Interfaces:
DomainResultGraphNode
,EntityFetch
,EntityResultGraphNode
,Fetch
,FetchParent
@Deprecated(forRemoval=true) public abstract class AbstractNonLazyEntityFetch extends AbstractFetchParent implements EntityFetch
Deprecated, for removal: This API element is subject to removal in a future version.Abstraction was not useful, so it was inlined intoEntityFetchJoinedImpl
directlySupport for non-lazy EntityFetch implementations - both joined and subsequent-select
-
-
Constructor Summary
Constructors Constructor Description AbstractNonLazyEntityFetch(FetchParent fetchParent, EntityValuedFetchable fetchedPart, NavigablePath navigablePath)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected EntityAssembler
buildEntityAssembler(EntityInitializer entityInitializer)
Deprecated, for removal: This API element is subject to removal in a future version.DomainResultAssembler<?>
createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Deprecated, for removal: This API element is subject to removal in a future version.Create the assembler for this fetchprotected abstract EntityInitializer
getEntityInitializer(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Deprecated, for removal: This API element is subject to removal in a future version.EntityValuedFetchable
getEntityValuedModelPart()
Deprecated, for removal: This API element is subject to removal in a future version.FetchableContainer
getFetchContainer()
Deprecated, for removal: This API element is subject to removal in a future version.EntityValuedFetchable
getFetchedMapping()
Deprecated, for removal: This API element is subject to removal in a future version.The value mapping being fetchedFetchParent
getFetchParent()
Deprecated, for removal: This API element is subject to removal in a future version.Obtain the owner of this fetch.EntityMappingType
getReferencedMappingContainer()
Deprecated, for removal: This API element is subject to removal in a future version.This parent's mapping typeEntityValuedFetchable
getReferencedMappingType()
Deprecated, for removal: This API element is subject to removal in a future version.This parent's mapping typeEntityValuedFetchable
getReferencedModePart()
Deprecated, for removal: This API element is subject to removal in a future version.WhereasFetchParent.getReferencedMappingContainer()
andFetchParent.getReferencedMappingType()
return the referenced container type, this method returns the referenced part.-
Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParent
afterInitialize, collectValueIndexesToCache, containsCollectionFetches, 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, collectValueIndexesToCache, 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, getTiming, hasTableGroup
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
containsCollectionFetches, createInitializer, findFetch, generateFetchableFetch, getFetches, getRoot, hasJoinFetches, resolveNavigablePath
-
-
-
-
Constructor Detail
-
AbstractNonLazyEntityFetch
public AbstractNonLazyEntityFetch(FetchParent fetchParent, EntityValuedFetchable fetchedPart, NavigablePath navigablePath)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getEntityValuedModelPart
public EntityValuedFetchable getEntityValuedModelPart()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getEntityValuedModelPart
in interfaceEntityResultGraphNode
-
getFetchContainer
public FetchableContainer getFetchContainer()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getFetchContainer
in classAbstractFetchParent
-
getReferencedModePart
public EntityValuedFetchable getReferencedModePart()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchParent
WhereasFetchParent.getReferencedMappingContainer()
andFetchParent.getReferencedMappingType()
return the referenced container type, this method returns the referenced part. E.g. for a many-to-one this method returns theToOneAttributeMapping
whileFetchParent.getReferencedMappingContainer()
andFetchParent.getReferencedMappingType()
return the referencedEntityMappingType
.- Specified by:
getReferencedModePart
in interfaceFetchParent
-
getReferencedMappingType
public EntityValuedFetchable getReferencedMappingType()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getReferencedMappingContainer
public EntityMappingType getReferencedMappingContainer()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceEntityResultGraphNode
- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
- Overrides:
getReferencedMappingContainer
in classAbstractFetchParent
-
getFetchedMapping
public EntityValuedFetchable getFetchedMapping()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Fetch
The value mapping being fetched- Specified by:
getFetchedMapping
in interfaceFetch
-
getFetchParent
public FetchParent getFetchParent()
Deprecated, for removal: This API element is subject to removal in a future version.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
-
createAssembler
public DomainResultAssembler<?> createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Fetch
Create the assembler for this fetch- Specified by:
createAssembler
in interfaceFetch
-
buildEntityAssembler
protected EntityAssembler buildEntityAssembler(EntityInitializer entityInitializer)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getEntityInitializer
protected abstract EntityInitializer getEntityInitializer(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-