Class AbstractNonJoinedEntityFetch
- java.lang.Object
-
- org.hibernate.sql.results.graph.entity.internal.AbstractNonJoinedEntityFetch
-
- All Implemented Interfaces:
DomainResultGraphNode
,EntityFetch
,EntityResultGraphNode
,Fetch
,FetchParent
- Direct Known Subclasses:
EntityDelayedFetchImpl
,EntityFetchSelectImpl
public abstract class AbstractNonJoinedEntityFetch extends Object implements EntityFetch
-
-
Constructor Summary
Constructors Constructor Description AbstractNonJoinedEntityFetch(NavigablePath navigablePath, EntityValuedFetchable fetchedModelPart, FetchParent fetchParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsCollectionFetches()
Fetch
findFetch(Fetchable fetchable)
EntityValuedFetchable
getEntityValuedModelPart()
EntityValuedFetchable
getFetchedMapping()
The value mapping being fetchedImmutableFetchList
getFetches()
Retrieve the fetches owned by this fetch source.FetchParent
getFetchParent()
Obtain the owner of this fetch.NavigablePath
getNavigablePath()
The NavigablePath for this node (if one!).EntityMappingType
getReferencedMappingType()
This parent's mapping typeboolean
hasJoinFetches()
-
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
containsAnyNonScalarResults
-
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityResultGraphNode
appliesTo, getReferencedMappingContainer, getResultJavaType
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetch
createAssembler, getTiming, hasTableGroup
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
AbstractNonJoinedEntityFetch
public AbstractNonJoinedEntityFetch(NavigablePath navigablePath, EntityValuedFetchable fetchedModelPart, FetchParent fetchParent)
-
-
Method Detail
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:DomainResultGraphNode
The NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePath
in interfaceDomainResultGraphNode
- Specified by:
getNavigablePath
in interfaceEntityResultGraphNode
- Specified by:
getNavigablePath
in interfaceFetch
- Specified by:
getNavigablePath
in interfaceFetchParent
- Returns:
- The property path
-
getFetchedMapping
public EntityValuedFetchable getFetchedMapping()
Description copied from interface:Fetch
The value mapping being fetched- Specified by:
getFetchedMapping
in interfaceFetch
-
getEntityValuedModelPart
public EntityValuedFetchable getEntityValuedModelPart()
- Specified by:
getEntityValuedModelPart
in interfaceEntityResultGraphNode
-
getFetchParent
public FetchParent getFetchParent()
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
-
getFetches
public ImmutableFetchList getFetches()
Description copied from interface:FetchParent
Retrieve the fetches owned by this fetch source.- Specified by:
getFetches
in interfaceFetchParent
-
findFetch
public Fetch findFetch(Fetchable fetchable)
- Specified by:
findFetch
in interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()
- Specified by:
hasJoinFetches
in interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetches
in interfaceFetchParent
-
getReferencedMappingType
public EntityMappingType getReferencedMappingType()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
-