Class CollectionDomainResult
java.lang.Object
org.hibernate.sql.results.graph.collection.internal.CollectionDomainResult
- All Implemented Interfaces:
CollectionResultGraphNode
,DomainResult
,DomainResultGraphNode
,FetchParent
,InitializerProducer<CollectionDomainResult>
public class CollectionDomainResult
extends Object
implements DomainResult, CollectionResultGraphNode, FetchParent, InitializerProducer<CollectionDomainResult>
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionDomainResult
(NavigablePath loadingPath, PluralAttributeMapping loadingAttribute, String resultVariable, TableGroup tableGroup, DomainResultCreationState creationState) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Does this node contain any non-scalar (sub-)results?boolean
createInitializer
(CollectionDomainResult resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) createInitializer
(InitializerParent<?> parent, AssemblerCreationState creationState) createResultAssembler
(InitializerParent parent, AssemblerCreationState creationState) Create an assembler (and any initializers) for this result.Retrieve the fetches owned by this fetch source.The NavigablePath for this node (if one!).This parent's mapping typeThis parent's mapping typeJavaType<?>
The result-variable (alias) associated with this result.boolean
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.FetchParent
collectValueIndexesToCache, generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
Method Details
-
getResultVariable
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
-
getResultJavaType
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
createResultAssembler
public DomainResultAssembler createResultAssembler(InitializerParent parent, AssemblerCreationState creationState) Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult
-
createInitializer
public CollectionInitializer<?> createInitializer(CollectionDomainResult resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializer
in interfaceInitializerProducer<CollectionDomainResult>
-
createInitializer
public CollectionInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializer
in interfaceFetchParent
-
getReferencedMappingContainer
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
-
getReferencedMappingType
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getFetches
Description copied from interface:FetchParent
Retrieve the fetches owned by this fetch source.- Specified by:
getFetches
in interfaceFetchParent
-
findFetch
- Specified by:
findFetch
in interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()- Specified by:
hasJoinFetches
in interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()- Specified by:
containsCollectionFetches
in interfaceFetchParent
-