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 intoEntityFetchJoinedImpldirectlySupport 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 EntityAssemblerbuildEntityAssembler(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 EntityInitializergetEntityInitializer(FetchParentAccess parentAccess, AssemblerCreationState creationState)Deprecated, for removal: This API element is subject to removal in a future version.EntityValuedFetchablegetEntityValuedModelPart()Deprecated, for removal: This API element is subject to removal in a future version.FetchableContainergetFetchContainer()Deprecated, for removal: This API element is subject to removal in a future version.EntityValuedFetchablegetFetchedMapping()Deprecated, for removal: This API element is subject to removal in a future version.The value mapping being fetchedFetchParentgetFetchParent()Deprecated, for removal: This API element is subject to removal in a future version.Obtain the owner of this fetch.EntityMappingTypegetReferencedMappingContainer()Deprecated, for removal: This API element is subject to removal in a future version.This parent's mapping typeEntityValuedFetchablegetReferencedMappingType()Deprecated, for removal: This API element is subject to removal in a future version.This parent's mapping typeEntityValuedFetchablegetReferencedModePart()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:
getEntityValuedModelPartin interfaceEntityResultGraphNode
-
getFetchContainer
public FetchableContainer getFetchContainer()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getFetchContainerin classAbstractFetchParent
-
getReferencedModePart
public EntityValuedFetchable getReferencedModePart()
Deprecated, for removal: This API element is subject to removal in a future version.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()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getReferencedMappingContainer
public EntityMappingType getReferencedMappingContainer()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceEntityResultGraphNode- Specified by:
getReferencedMappingContainerin interfaceFetchParent- Overrides:
getReferencedMappingContainerin classAbstractFetchParent
-
getFetchedMapping
public EntityValuedFetchable getFetchedMapping()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
getFetchParent
public FetchParent getFetchParent()
Deprecated, for removal: This API element is subject to removal in a future version.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)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin 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.
-
-