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,InitializerProducer<CollectionFetch>
-
Constructor Summary
ConstructorsConstructorDescriptionEagerCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, TableGroup collectionTableGroup, boolean needsCollectionKeyResult, FetchParent fetchParent, DomainResultCreationState creationState) -
Method Summary
Modifier and TypeMethodDescriptionUtility method to avoidinstanceofchecks.voidcollectValueIndexesToCache(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.booleancreateInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) intRetrieve the fetches owned by this fetch source.JavaType<?>immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?booleanbooleanIs the TableGroup associated with this Fetch defined?resolveNavigablePath(Fetchable fetchable) Methods inherited from class org.hibernate.sql.results.graph.collection.internal.CollectionFetch
createAssembler, createInitializer, getFetchedMapping, getFetchParent, getNavigablePath, getReferencedMappingContainer, getReferencedMappingTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesToMethods inherited from interface org.hibernate.sql.results.graph.Fetch
containsAnyNonScalarResultsMethods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getReferencedModePart, getRoot
-
Constructor Details
-
Method Details
-
createInitializer
public CollectionInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) -
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? -
getFetches
Description copied from interface:FetchParentRetrieve the fetches owned by this fetch source.- Specified by:
getFetchesin interfaceFetchParent- Overrides:
getFetchesin classCollectionFetch
-
findFetch
- Specified by:
findFetchin interfaceFetchParent- Overrides:
findFetchin classCollectionFetch
-
hasJoinFetches
public boolean hasJoinFetches()- Specified by:
hasJoinFetchesin interfaceFetchParent- Overrides:
hasJoinFetchesin classCollectionFetch
-
containsCollectionFetches
public boolean containsCollectionFetches()- Specified by:
containsCollectionFetchesin interfaceFetchParent- Overrides:
containsCollectionFetchesin classCollectionFetch
-
getCollectionFetchesCount
public int getCollectionFetchesCount() -
getResultJavaType
-
asFetchParent
Description copied from interface:FetchUtility method to avoidinstanceofchecks. Returns this if it's an instance ofFetchParent, null otherwise. -
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.