Class EmbeddableResultImpl<T>
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- org.hibernate.sql.results.graph.embeddable.internal.EmbeddableResultImpl<T>
-
- All Implemented Interfaces:
DomainResult<T>
,DomainResultGraphNode
,EmbeddableResult<T>
,EmbeddableResultGraphNode
,FetchParent
,InitializerProducer<EmbeddableResultImpl<T>>
- Direct Known Subclasses:
NonAggregatedIdentifierMappingResult
public class EmbeddableResultImpl<T> extends AbstractFetchParent implements EmbeddableResultGraphNode, DomainResult<T>, EmbeddableResult<T>, InitializerProducer<EmbeddableResultImpl<T>>
-
-
Constructor Summary
Constructors Constructor Description EmbeddableResultImpl(NavigablePath navigablePath, EmbeddableValuedModelPart modelPart, String resultVariable, 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?Initializer
createInitializer(EmbeddableResultImpl<T> resultGraphNode, FetchParentAccess parentAccess, AssemblerCreationState creationState)
Initializer
createInitializer(FetchParentAccess parentAccess, AssemblerCreationState creationState)
DomainResultAssembler<T>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.EmbeddableMappingType
getFetchContainer()
EmbeddableValuedModelPart
getReferencedMappingContainer()
This parent's mapping typeEmbeddableMappingType
getReferencedMappingType()
This parent's mapping typeJavaType<?>
getResultJavaType()
String
getResultVariable()
The result-variable (alias) associated with this result.-
Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParent
afterInitialize, collectValueIndexesToCache, containsCollectionFetches, findFetch, getFetches, getNavigablePath, hasJoinFetches, resetFetches
-
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.embeddable.EmbeddableResultGraphNode
getNavigablePath
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
collectValueIndexesToCache, containsCollectionFetches, findFetch, generateFetchableFetch, getFetches, getReferencedModePart, getRoot, hasJoinFetches, resolveNavigablePath
-
-
-
-
Constructor Detail
-
EmbeddableResultImpl
public EmbeddableResultImpl(NavigablePath navigablePath, EmbeddableValuedModelPart modelPart, String resultVariable, 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<T>
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
-
getFetchContainer
public EmbeddableMappingType getFetchContainer()
- Specified by:
getFetchContainer
in classAbstractFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
- Overrides:
getResultJavaType
in classAbstractFetchParent
-
getReferencedMappingType
public EmbeddableMappingType getReferencedMappingType()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceEmbeddableResultGraphNode
- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getReferencedMappingContainer
public EmbeddableValuedModelPart getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceEmbeddableResultGraphNode
- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
- Overrides:
getReferencedMappingContainer
in classAbstractFetchParent
-
createResultAssembler
public DomainResultAssembler<T> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult<T>
-
createInitializer
public Initializer createInitializer(EmbeddableResultImpl<T> resultGraphNode, FetchParentAccess parentAccess, AssemblerCreationState creationState)
- Specified by:
createInitializer
in interfaceInitializerProducer<T>
-
createInitializer
public Initializer createInitializer(FetchParentAccess parentAccess, AssemblerCreationState creationState)
- Specified by:
createInitializer
in interfaceFetchParent
-
-