Class CollectionFetch
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.CollectionFetch
-
- All Implemented Interfaces:
DomainResultGraphNode
,Fetch
- Direct Known Subclasses:
DelayedCollectionFetch
,EagerCollectionFetch
,SelectEagerCollectionFetch
public abstract class CollectionFetch extends Object implements Fetch
-
-
Constructor Summary
Constructors Constructor Description CollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluralAttributeMapping
getFetchedMapping()
The value mapping being fetchedFetchParent
getFetchParent()
Obtain the owner of this fetch.NavigablePath
getNavigablePath()
Get the property path to this fetch-
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.DomainResultGraphNode
appliesTo, getResultJavaType
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetch
asFetchParent, containsAnyNonScalarResults, createAssembler, getTiming, hasTableGroup
-
-
-
-
Constructor Detail
-
CollectionFetch
public CollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent)
-
-
Method Detail
-
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
-
getFetchedMapping
public PluralAttributeMapping getFetchedMapping()
Description copied from interface:Fetch
The value mapping being fetched- Specified by:
getFetchedMapping
in interfaceFetch
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:Fetch
Get the property path to this fetch- Specified by:
getNavigablePath
in interfaceDomainResultGraphNode
- Specified by:
getNavigablePath
in interfaceFetch
- Returns:
- The property path
-
-