Class CollectionDomainResult
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.CollectionDomainResult
-
- All Implemented Interfaces:
CollectionResultGraphNode
,DomainResult
,DomainResultGraphNode
,FetchParent
public class CollectionDomainResult extends Object implements DomainResult, CollectionResultGraphNode, FetchParent
-
-
Constructor Summary
Constructors Constructor Description CollectionDomainResult(NavigablePath loadingPath, PluralAttributeMapping loadingAttribute, String resultVariable, TableGroup tableGroup, DomainResultCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsAnyNonScalarResults()
Does this node contain any non-scalar (sub-)results?boolean
containsCollectionFetches()
DomainResultAssembler
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.Fetch
findFetch(Fetchable fetchable)
ImmutableFetchList
getFetches()
Retrieve the fetches owned by this fetch source.NavigablePath
getNavigablePath()
The NavigablePath for this node (if one!).FetchableContainer
getReferencedMappingContainer()
This parent's mapping typeFetchableContainer
getReferencedMappingType()
This parent's mapping typeJavaType<?>
getResultJavaType()
String
getResultVariable()
The result-variable (alias) associated with this result.boolean
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.FetchParent
generateFetchableFetch, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
CollectionDomainResult
public CollectionDomainResult(NavigablePath loadingPath, PluralAttributeMapping loadingAttribute, String resultVariable, TableGroup tableGroup, DomainResultCreationState creationState)
-
-
Method Detail
-
getResultVariable
public String 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
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
createResultAssembler
public DomainResultAssembler createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult
-
getReferencedMappingContainer
public FetchableContainer getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
-
getReferencedMappingType
public FetchableContainer getReferencedMappingType()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:DomainResultGraphNode
The NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePath
in interfaceDomainResultGraphNode
- Specified by:
getNavigablePath
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
-
-