Class DiscriminatedEntityFetch
java.lang.Object
org.hibernate.sql.results.graph.entity.AbstractDiscriminatedEntityResultGraphNode
org.hibernate.sql.results.graph.entity.internal.DiscriminatedEntityFetch
- All Implemented Interfaces:
DomainResultGraphNode,Fetch,FetchParent,InitializerProducer<DiscriminatedEntityFetch>
public class DiscriminatedEntityFetch
extends AbstractDiscriminatedEntityResultGraphNode
implements Fetch, InitializerProducer<DiscriminatedEntityFetch>
-
Constructor Summary
ConstructorsConstructorDescriptionDiscriminatedEntityFetch(NavigablePath navigablePath, JavaType<?> baseAssociationJtd, DiscriminatedAssociationModelPart fetchedPart, FetchTiming fetchTiming, FetchParent fetchParent, DomainResultCreationState creationState) -
Method Summary
Modifier and TypeMethodDescriptionUtility method to avoidinstanceofchecks.createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Create the assembler for this fetchInitializer<?>createInitializer(DiscriminatedEntityFetch resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) Initializer<?>createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) The value mapping being fetchedObtain the owner of this fetch.immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?booleanIs the TableGroup associated with this Fetch defined?Methods inherited from class org.hibernate.sql.results.graph.entity.AbstractDiscriminatedEntityResultGraphNode
afterInitialize, collectValueIndexesToCache, containsAnyNonScalarResults, containsCollectionFetches, findFetch, getBaseAssociationJtd, getDiscriminatorValueFetch, getFetches, getKeyValueFetch, getNavigablePath, getReferencedMappingContainer, getReferencedMappingType, getResultJavaType, hasJoinFetchesMethods 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
appliesTo, getResultJavaTypeMethods inherited from interface org.hibernate.sql.results.graph.Fetch
containsAnyNonScalarResults, getNavigablePathMethods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
Method Details
-
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
-
getFetchedMapping
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
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
-
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(DiscriminatedEntityFetch resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceInitializerProducer<DiscriminatedEntityFetch>
-
createInitializer
public Initializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceFetchParent
-
asFetchParent
Description copied from interface:FetchUtility method to avoidinstanceofchecks. Returns this if it's an instance ofFetchParent, null otherwise.- Specified by:
asFetchParentin interfaceFetch
-