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

public Class EntityDelayedFetchImpl

extends AbstractNonJoinedEntityFetch
Class Inheritance
Imports
org.hibernate.engine.FetchTiming, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.AssemblerCreationState, .DomainResult, .DomainResultAssembler, .FetchParent, .FetchParentAccess, .Initializer

Authors
Andrea Boriero, Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final DomainResult<?>
private final boolean

Constructor Summary

AccessConstructor and Description
public
EntityDelayedFetchImpl(FetchParent fetchParent, ToOneAttributeMapping fetchedAttribute, NavigablePath navigablePath, DomainResult<?> keyResult, boolean selectByUniqueKey)

Method Summary

Modifier and TypeMethod and Description
protected EntityAssembler
buildEntityAssembler(Initializer entityInitializer)

protected Initializer
buildEntityDelayedFetchInitializer(FetchParentAccess parentAccess, NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, boolean selectByUniqueKey, DomainResultAssembler<?> resultAssembler)

public DomainResultAssembler<?>
createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.Fetch.createAssembler.

Create the assembler for this fetch
public FetchTiming
public boolean
hasTableGroup()

Implements org.hibernate.sql.results.graph.Fetch.hasTableGroup.

Is the TableGroup associated with this Fetch defined?
Inherited from org.hibernate.sql.results.graph.entity.internal.AbstractNonJoinedEntityFetch:
containsCollectionFetchesfindFetchgetEntityValuedModelPartgetFetchedMappinggetFetchesgetFetchParentgetNavigablePathgetReferencedMappingTypehasJoinFetches

Field Detail

keyResultback to summary
private final DomainResult<?> keyResult
selectByUniqueKeyback to summary
private final boolean selectByUniqueKey

Constructor Detail

EntityDelayedFetchImplback to summary
public EntityDelayedFetchImpl(FetchParent fetchParent, ToOneAttributeMapping fetchedAttribute, NavigablePath navigablePath, DomainResult<?> keyResult, boolean selectByUniqueKey)

Method Detail

buildEntityAssemblerback to summary
protected EntityAssembler buildEntityAssembler(Initializer entityInitializer)
buildEntityDelayedFetchInitializerback to summary
protected Initializer buildEntityDelayedFetchInitializer(FetchParentAccess parentAccess, NavigablePath navigablePath, ToOneAttributeMapping entityValuedModelPart, boolean selectByUniqueKey, DomainResultAssembler<?> resultAssembler)
createAssemblerback to summary
public DomainResultAssembler<?> createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.Fetch.createAssembler.

Doc from org.hibernate.sql.results.graph.Fetch.createAssembler.

Create the assembler for this fetch

Annotations
@Override
getTimingback to summary
public FetchTiming getTiming()

Implements org.hibernate.sql.results.graph.Fetch.getTiming.

Doc from org.hibernate.sql.results.graph.Fetch.getTiming.

immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?

Annotations
@Override
hasTableGroupback to summary
public boolean hasTableGroup()

Implements org.hibernate.sql.results.graph.Fetch.hasTableGroup.

Doc from org.hibernate.sql.results.graph.Fetch.hasTableGroup.

Is the TableGroup associated with this Fetch defined?

Annotations
@Override