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 voidcollectValueIndexesToCache(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()FetchTiminggetTiming()immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?booleanhasTableGroup()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:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch- Overrides:
createAssemblerin classCollectionFetch
-
createInitializer
public CollectionInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState)
-
getTiming
public FetchTiming getTiming()
Description copied from interface:Fetchimmediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?
-
hasTableGroup
public boolean hasTableGroup()
Description copied from interface:FetchIs the TableGroup associated with this Fetch defined?
-
getResultJavaType
public JavaType<?> getResultJavaType()
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.
-
-