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 booleancontainsAnyNonScalarResults()Does this node contain any non-scalar (sub-)results?Initializer<?>createInitializer(EmbeddableResultImpl<T> resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState)Initializer<?>createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState)DomainResultAssembler<T>createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)Create an assembler (and any initializers) for this result.EmbeddableMappingTypegetFetchContainer()EmbeddableValuedModelPartgetReferencedMappingContainer()This parent's mapping typeEmbeddableMappingTypegetReferencedMappingType()This parent's mapping typeJavaType<?>getResultJavaType()StringgetResultVariable()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, getCollectionFetchesCount, 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:DomainResultThe result-variable (alias) associated with this result.- Specified by:
getResultVariablein interfaceDomainResult<T>
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNodeDoes this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResultsin interfaceDomainResultGraphNode
-
getFetchContainer
public EmbeddableMappingType getFetchContainer()
- Specified by:
getFetchContainerin classAbstractFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode- Overrides:
getResultJavaTypein classAbstractFetchParent
-
getReferencedMappingType
public EmbeddableMappingType getReferencedMappingType()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceEmbeddableResultGraphNode- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getReferencedMappingContainer
public EmbeddableValuedModelPart getReferencedMappingContainer()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceEmbeddableResultGraphNode- Specified by:
getReferencedMappingContainerin interfaceFetchParent- Overrides:
getReferencedMappingContainerin classAbstractFetchParent
-
createResultAssembler
public DomainResultAssembler<T> createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)
Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult<T>
-
createInitializer
public Initializer<?> createInitializer(EmbeddableResultImpl<T> resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState)
- Specified by:
createInitializerin interfaceInitializerProducer<T>
-
createInitializer
public Initializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState)
- Specified by:
createInitializerin interfaceFetchParent
-
-