Class EmbeddableFetchImpl
java.lang.Object
org.hibernate.sql.results.graph.AbstractFetchParent
org.hibernate.sql.results.graph.embeddable.internal.EmbeddableFetchImpl
- All Implemented Interfaces:
DomainResultGraphNode,EmbeddableResultGraphNode,Fetch,FetchParent,InitializerProducer<EmbeddableFetchImpl>
- Direct Known Subclasses:
NonAggregatedIdentifierMappingFetch
public class EmbeddableFetchImpl
extends AbstractFetchParent
implements EmbeddableResultGraphNode, Fetch, InitializerProducer<EmbeddableFetchImpl>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmbeddableFetchImpl(NavigablePath navigablePath, EmbeddableValuedFetchable embeddedPartDescriptor, FetchParent fetchParent, FetchTiming fetchTiming, boolean hasTableGroup, DomainResultCreationState creationState) protectedEmbeddableFetchImpl(EmbeddableFetchImpl original) For Hibernate Reactive -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(GraphImplementor<?> graphImplementor, JpaMetamodel metamodel) Utility method to avoidinstanceofchecks.createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Create the assembler for this fetchInitializer<?>createInitializer(EmbeddableFetchImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) protected BasicFetch<?>The value mapping being fetchedObtain the owner of this fetch.This parent's mapping typeThis parent's mapping typeimmediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?booleanIs the TableGroup associated with this Fetch defined?resolveNavigablePath(Fetchable fetchable) Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParent
afterInitialize, collectValueIndexesToCache, containsCollectionFetches, findFetch, getFetches, getNavigablePath, getResultJavaType, hasJoinFetches, resetFetchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
getResultJavaTypeMethods inherited from interface org.hibernate.sql.results.graph.embeddable.EmbeddableResultGraphNode
getNavigablePathMethods inherited from interface org.hibernate.sql.results.graph.Fetch
containsAnyNonScalarResults, getNavigablePathMethods inherited from interface org.hibernate.sql.results.graph.FetchParent
collectValueIndexesToCache, containsCollectionFetches, findFetch, generateFetchableFetch, getCollectionFetchesCount, getFetches, getReferencedModePart, getRoot, hasJoinFetches
-
Constructor Details
-
EmbeddableFetchImpl
For Hibernate Reactive
-
Method Details
-
getTiming
Description copied from interface:Fetchimmediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options? -
hasTableGroup
public boolean hasTableGroup()Description copied from interface:FetchIs the TableGroup associated with this Fetch defined?- Specified by:
hasTableGroupin interfaceFetch
-
getFetchParent
Description copied from interface:FetchObtain the owner of this fetch. Ultimately used to identify the thing that "owns" this fetched navigable for the purpose of:* identifying the associated owner reference as we process the fetch * inject the fetched instance into the parent and potentially inject the parent reference into the fetched instance if it defines such injection (e.g.
Parent)- Specified by:
getFetchParentin interfaceFetch
-
getFetchContainer
- Specified by:
getFetchContainerin classAbstractFetchParent
-
getReferencedMappingContainer
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceEmbeddableResultGraphNode- Specified by:
getReferencedMappingContainerin interfaceFetchParent- Overrides:
getReferencedMappingContainerin classAbstractFetchParent
-
getFetchedMapping
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
getReferencedMappingType
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceEmbeddableResultGraphNode- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch
-
createInitializer
public Initializer<?> createInitializer(EmbeddableFetchImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceInitializerProducer<EmbeddableFetchImpl>
-
createInitializer
public EmbeddableInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceFetchParent
-
appliesTo
- Specified by:
appliesToin interfaceDomainResultGraphNode
-
asFetchParent
Description copied from interface:FetchUtility method to avoidinstanceofchecks. Returns this if it's an instance ofFetchParent, null otherwise.- Specified by:
asFetchParentin interfaceFetch
-
getDiscriminatorFetch
-