Class DelayedCollectionFetch
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.CollectionFetch
-
- org.hibernate.sql.results.graph.collection.internal.DelayedCollectionFetch
-
- All Implemented Interfaces:
DomainResultGraphNode
,Fetch
,FetchParent
,InitializerProducer<CollectionFetch>
public class DelayedCollectionFetch extends CollectionFetch
-
-
Constructor Summary
Constructors Constructor Description DelayedCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent, DomainResult<?> collectionKeyResult, boolean unfetched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectValueIndexesToCache(BitSet valueIndexes)
Collect the JDBC value indexes used by this domain result that should be cached.DomainResultAssembler<?>
createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)
Create the assembler for this fetchCollectionInitializer<?>
createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState)
JavaType<?>
getResultJavaType()
FetchTiming
getTiming()
immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?boolean
hasTableGroup()
Is the TableGroup associated with this Fetch defined?-
Methods inherited from class org.hibernate.sql.results.graph.collection.internal.CollectionFetch
containsCollectionFetches, createInitializer, findFetch, getFetchedMapping, getFetches, getFetchParent, getNavigablePath, getReferencedMappingContainer, getReferencedMappingType, 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.DomainResultGraphNode
appliesTo
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetch
asFetchParent, containsAnyNonScalarResults
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
DelayedCollectionFetch
public DelayedCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent, DomainResult<?> collectionKeyResult, boolean unfetched)
-
-
Method Detail
-
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)
Description copied from interface:Fetch
Create the assembler for this fetch- Specified by:
createAssembler
in interfaceFetch
- Overrides:
createAssembler
in classCollectionFetch
-
createInitializer
public CollectionInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState)
-
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?
-
getResultJavaType
public JavaType<?> getResultJavaType()
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
Description copied from interface:DomainResultGraphNode
Collect the JDBC value indexes used by this domain result that should be cached.
-
-