Top Description Methods
org.hibernate.sql.results.graph

public Interface FetchParentAccess

extends Initializer
Known Direct Subinterfaces
org.hibernate.sql.results.graph.embeddable.EmbeddableInitializer, org.hibernate.sql.results.graph.entity.EntityInitializer
Known Direct Implementers
org.hibernate.metamodel.mapping.internal.CompoundNaturalIdMapping.InitializerImpl, org.hibernate.sql.results.graph.AbstractFetchParentAccess
Imports
java.util.function.Consumer, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.entity.EntityInitializer

Provides access to information about the owner/parent of a fetch in relation to the current "row" being processed.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public FetchParentAccess
findFirstEntityDescriptorAccess()

Find the first entity access up the fetch parent graph

public default EntityInitializer
public default FetchParentAccess
public NavigablePath
public Object
public void
registerResolutionListener(Consumer<Object> resolvedParentConsumer)

Register a listener to be notified when the parent is "resolved"

Inherited from org.hibernate.sql.results.graph.Initializer:
asEmbeddableInitializerasEntityInitializerendLoadingfinishUpRowgetInitializedInstancegetInitializedPartinitializeInstanceisAttributeAssignableToConcreteDescriptorisCollectionInitializerisEmbeddableInitializerisEntityInitializerresolveInstanceresolveKey

Method Detail

findFirstEntityDescriptorAccessback to summary
public FetchParentAccess findFirstEntityDescriptorAccess()

Find the first entity access up the fetch parent graph

findFirstEntityInitializerback to summary
public default EntityInitializer findFirstEntityInitializer()
getFetchParentAccessback to summary
public default FetchParentAccess getFetchParentAccess()
getNavigablePathback to summary
public NavigablePath getNavigablePath()

Redeclares org.hibernate.sql.results.graph.Initializer.getNavigablePath.

getParentKeyback to summary
public Object getParentKey()
registerResolutionListenerback to summary
public void registerResolutionListener(Consumer<Object> resolvedParentConsumer)

Register a listener to be notified when the parent is "resolved"

API Note

If already resolved, the callback is triggered immediately