Top Description Fields Constructors Methods
org.hibernate.sql.results.graph.entity.internal

public Class EntityDelayedResultImpl

extends Object
implements DomainResult
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.graph.DomainResult, org.hibernate.sql.results.graph.DomainResultGraphNode
Imports
org.hibernate.metamodel.mapping.EntityAssociationMapping, .EntityIdentifierMapping, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.results.graph.AssemblerCreationState, .DomainResult, .DomainResultAssembler, .DomainResultCreationState, .FetchParentAccess, .Initializer, org.hibernate.type.descriptor.java.JavaType

Selects just the FK and builds a proxy
Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final EntityAssociationMapping
private final DomainResult<J>

Constructor Summary

AccessConstructor and Description
public
EntityDelayedResultImpl(NavigablePath navigablePath, EntityAssociationMapping entityValuedModelPart, TableGroup targetTableGroup, DomainResultCreationState creationState)

Method Summary

Modifier and TypeMethod and Description
protected EntityAssembler
protected Initializer
buildEntityDelayedFetchInitializer(NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, DomainResultAssembler<J> resultAssembler)

public DomainResultAssembler<J>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Create an assembler (and any initializers) for this result.
public NavigablePath
getNavigablePath()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.getNavigablePath.

The NavigablePath for this node (if one!).
public JavaType<?>
public String
getResultVariable()

Implements org.hibernate.sql.results.graph.DomainResult.getResultVariable.

The result-variable (alias) associated with this result.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

entityValuedModelPartback to summary
private final EntityAssociationMapping entityValuedModelPart
identifierResultback to summary
private final DomainResult<J> identifierResult

Constructor Detail

EntityDelayedResultImplback to summary
public EntityDelayedResultImpl(NavigablePath navigablePath, EntityAssociationMapping entityValuedModelPart, TableGroup targetTableGroup, DomainResultCreationState creationState)

Method Detail

buildEntityAssemblerback to summary
protected EntityAssembler buildEntityAssembler(Initializer initializer)
buildEntityDelayedFetchInitializerback to summary
protected Initializer buildEntityDelayedFetchInitializer(NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, DomainResultAssembler<J> resultAssembler)
createResultAssemblerback to summary
public DomainResultAssembler<J> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Doc from org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Create an assembler (and any initializers) for this result.

Annotations
@Override
getNavigablePathback to summary
public NavigablePath getNavigablePath()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.getNavigablePath.

Doc from org.hibernate.sql.results.graph.DomainResultGraphNode.getNavigablePath.

The NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable

Annotations
@Override
getResultJavaTypeback to summary
public JavaType<?> getResultJavaType()

Implements org.hibernate.sql.results.graph.DomainResultGraphNode.getResultJavaType.

Annotations
@Override
getResultVariableback to summary
public String getResultVariable()

Implements org.hibernate.sql.results.graph.DomainResult.getResultVariable.

Doc from org.hibernate.sql.results.graph.DomainResult.getResultVariable.

The result-variable (alias) associated with this result.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override