Class EntityDelayedResultImpl
- java.lang.Object
-
- org.hibernate.sql.results.graph.entity.internal.EntityDelayedResultImpl
-
- All Implemented Interfaces:
DomainResult
,DomainResultGraphNode
public class EntityDelayedResultImpl extends Object implements DomainResult
Selects just the FK and builds a proxy
-
-
Constructor Summary
Constructors Constructor Description EntityDelayedResultImpl(NavigablePath navigablePath, EntityAssociationMapping entityValuedModelPart, TableGroup targetTableGroup, DomainResultCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EntityAssembler
buildEntityAssembler(Initializer initializer)
protected Initializer
buildEntityDelayedFetchInitializer(NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, DomainResultAssembler resultAssembler)
DomainResultAssembler
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.NavigablePath
getNavigablePath()
The NavigablePath for this node (if one!).JavaType<?>
getResultJavaType()
String
getResultVariable()
The result-variable (alias) associated with this result.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesTo, containsAnyNonScalarResults
-
-
-
-
Constructor Detail
-
EntityDelayedResultImpl
public EntityDelayedResultImpl(NavigablePath navigablePath, EntityAssociationMapping entityValuedModelPart, TableGroup targetTableGroup, DomainResultCreationState creationState)
-
-
Method Detail
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
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
-
getResultVariable
public String getResultVariable()
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult
-
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
-
buildEntityAssembler
protected EntityAssembler buildEntityAssembler(Initializer initializer)
-
buildEntityDelayedFetchInitializer
protected Initializer buildEntityDelayedFetchInitializer(NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, DomainResultAssembler resultAssembler)
-
-