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

public Class EntityFetchSelectImpl

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

An eager entity fetch performed as a subsequent (n+1) select
Author
Andrea Boriero

Field Summary

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

Constructor Summary

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

protected
EntityFetchSelectImpl(EntityFetchSelectImpl original)

For Hibernate Reactive

Method Summary

Modifier and TypeMethod and Description
protected DomainResultAssembler<?>
protected Initializer
buildEntitySelectFetchInitializer(FetchParentAccess parentAccess, ToOneAttributeMapping fetchedMapping, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState)

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

EntityFetchSelectImplback to summary
public EntityFetchSelectImpl(FetchParent fetchParent, ToOneAttributeMapping fetchedAttribute, NavigablePath navigablePath, DomainResult<?> keyResult, boolean selectByUniqueKey, DomainResultCreationState creationState)
EntityFetchSelectImplback to summary
protected EntityFetchSelectImpl(EntityFetchSelectImpl original)

For Hibernate Reactive

Method Detail

buildEntityAssemblerback to summary
protected DomainResultAssembler<?> buildEntityAssembler(Initializer initializer)
buildEntitySelectFetchInitializerback to summary
protected Initializer buildEntitySelectFetchInitializer(FetchParentAccess parentAccess, ToOneAttributeMapping fetchedMapping, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState)
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