Class EmbeddableForeignKeyResultImpl<T>
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- org.hibernate.sql.results.graph.embeddable.internal.EmbeddableForeignKeyResultImpl<T>
-
- All Implemented Interfaces:
DomainResult<T>
,DomainResultGraphNode
,EmbeddableResultGraphNode
,FetchParent
public class EmbeddableForeignKeyResultImpl<T> extends AbstractFetchParent implements EmbeddableResultGraphNode, DomainResult<T>
-
-
Constructor Summary
Constructors Constructor Description EmbeddableForeignKeyResultImpl(NavigablePath navigablePath, EmbeddableValuedModelPart embeddableValuedModelPart, String resultVariable, FetchParent fetchParent, 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?DomainResultAssembler<T>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.Fetch
generateFetchableFetch(Fetchable fetchable, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState)
EmbeddableMappingType
getFetchContainer()
EmbeddableValuedModelPart
getReferencedMappingContainer()
This parent's mapping typeEmbeddableMappingType
getReferencedMappingType()
This parent's mapping typeString
getResultVariable()
The result-variable (alias) associated with this result.FetchParent
getRoot()
-
Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParent
afterInitialize, containsCollectionFetches, findFetch, getFetches, getNavigablePath, getResultJavaType, 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, getResultJavaType
-
Methods inherited from interface org.hibernate.sql.results.graph.embeddable.EmbeddableResultGraphNode
getNavigablePath
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
containsCollectionFetches, findFetch, getFetches, getReferencedModePart, hasJoinFetches, resolveNavigablePath
-
-
-
-
Constructor Detail
-
EmbeddableForeignKeyResultImpl
public EmbeddableForeignKeyResultImpl(NavigablePath navigablePath, EmbeddableValuedModelPart embeddableValuedModelPart, String resultVariable, FetchParent fetchParent, DomainResultCreationState creationState)
-
-
Method Detail
-
getRoot
public FetchParent getRoot()
- Specified by:
getRoot
in interfaceFetchParent
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
-
getResultVariable
public String getResultVariable()
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult<T>
-
generateFetchableFetch
public Fetch generateFetchableFetch(Fetchable fetchable, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState)
- Specified by:
generateFetchableFetch
in interfaceFetchParent
-
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>
-
getReferencedMappingType
public EmbeddableMappingType getReferencedMappingType()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceEmbeddableResultGraphNode
- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getFetchContainer
public EmbeddableMappingType getFetchContainer()
- Specified by:
getFetchContainer
in classAbstractFetchParent
-
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
-
-