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 EntityAssemblerbuildEntityAssembler(Initializer initializer)protected InitializerbuildEntityDelayedFetchInitializer(NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, DomainResultAssembler resultAssembler)DomainResultAssemblercreateResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)Create an assembler (and any initializers) for this result.NavigablePathgetNavigablePath()The NavigablePath for this node (if one!).JavaType<?>getResultJavaType()StringgetResultVariable()The result-variable (alias) associated with this result.StringtoString()-
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:
getResultJavaTypein interfaceDomainResultGraphNode
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:DomainResultGraphNodeThe NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePathin interfaceDomainResultGraphNode
-
getResultVariable
public String getResultVariable()
Description copied from interface:DomainResultThe result-variable (alias) associated with this result.- Specified by:
getResultVariablein interfaceDomainResult
-
createResultAssembler
public DomainResultAssembler createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult
-
buildEntityAssembler
protected EntityAssembler buildEntityAssembler(Initializer initializer)
-
buildEntityDelayedFetchInitializer
protected Initializer buildEntityDelayedFetchInitializer(NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, DomainResultAssembler resultAssembler)
-
-