Class EagerCollectionFetch
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.CollectionFetch
-
- org.hibernate.sql.results.graph.collection.internal.EagerCollectionFetch
-
- All Implemented Interfaces:
DomainResultGraphNode
,Fetch
,FetchParent
public class EagerCollectionFetch extends CollectionFetch implements FetchParent
-
-
Constructor Summary
Constructors Constructor Description EagerCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, TableGroup collectionTableGroup, FetchParent fetchParent, DomainResultCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsCollectionFetches()
DomainResultAssembler<?>
createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create the assembler for this fetchFetch
findFetch(Fetchable fetchable)
ImmutableFetchList
getFetches()
Retrieve the fetches owned by this fetch source.FetchableContainer
getReferencedMappingContainer()
This parent's mapping typePluralAttributeMapping
getReferencedMappingType()
This parent's mapping typeJavaType<?>
getResultJavaType()
FetchTiming
getTiming()
immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?boolean
hasJoinFetches()
boolean
hasTableGroup()
Is the TableGroup associated with this Fetch defined?-
Methods inherited from class org.hibernate.sql.results.graph.collection.internal.CollectionFetch
getFetchedMapping, getFetchParent, getNavigablePath
-
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
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetch
containsAnyNonScalarResults
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getNavigablePath, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
EagerCollectionFetch
public EagerCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, TableGroup collectionTableGroup, FetchParent fetchParent, DomainResultCreationState creationState)
-
-
Method Detail
-
createAssembler
public DomainResultAssembler<?> createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:Fetch
Create the assembler for this fetch- Specified by:
createAssembler
in interfaceFetch
-
getTiming
public FetchTiming getTiming()
Description copied from interface:Fetch
immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?
-
hasTableGroup
public boolean hasTableGroup()
Description copied from interface:Fetch
Is the TableGroup associated with this Fetch defined?- Specified by:
hasTableGroup
in interfaceFetch
-
getReferencedMappingContainer
public FetchableContainer getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
-
getReferencedMappingType
public PluralAttributeMapping getReferencedMappingType()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
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
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
-