Class CircularFetchImpl
java.lang.Object
org.hibernate.sql.results.graph.entity.internal.AbstractNonJoinedEntityFetch
org.hibernate.sql.results.internal.domain.CircularFetchImpl
- All Implemented Interfaces:
BiDirectionalFetch,DomainResultGraphNode,EntityFetch,EntityResultGraphNode,Fetch,FetchParent,InitializerProducer<AbstractNonJoinedEntityFetch>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCircularFetchImpl(ToOneAttributeMapping referencedModelPart, FetchTiming timing, NavigablePath navigablePath, FetchParent fetchParent, boolean selectByUniqueKey, NavigablePath referencedNavigablePath, DomainResult<?> keyResult, DomainResultCreationState creationState) protectedCircularFetchImpl(CircularFetchImpl original) Used from Hibernate Reactive -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityInitializer<?> buildEntityDelayedFetchInitializer(InitializerParent<?> parent, NavigablePath referencedPath, ToOneAttributeMapping fetchable, boolean selectByUniqueKey, DomainResult<?> keyResult, BasicFetch<?> discriminatorFetch, AssemblerCreationState creationState) protected EntityInitializer<?> buildEntitySelectFetchInitializer(InitializerParent<?> parent, ToOneAttributeMapping fetchable, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState) createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Create the assembler for this fetchcreateInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) The NavigablePath for the DomainResult or Fetch that this Fetch refers to.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.internal.AbstractNonJoinedEntityFetch
buildEntityAssembler, collectValueIndexesToCache, containsCollectionFetches, createInitializer, findFetch, getDiscriminatorFetch, getEntityValuedModelPart, getFetchedMapping, getFetches, getFetchParent, getKeyResult, getNavigablePath, getReferencedMappingType, hasJoinFetches, isSelectByUniqueKeyMethods 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.BiDirectionalFetch
collectValueIndexesToCacheMethods inherited from interface org.hibernate.sql.results.graph.entity.EntityFetch
asFetchParent, containsAnyNonScalarResultsMethods inherited from interface org.hibernate.sql.results.graph.entity.EntityResultGraphNode
appliesTo, getReferencedMappingContainer, getResultJavaTypeMethods inherited from interface org.hibernate.sql.results.graph.Fetch
containsAnyNonScalarResults, getFetchedMapping, getFetchParent, getNavigablePathMethods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
CircularFetchImpl
Used from Hibernate Reactive
-
Method Details
-
getReferencedPath
Description copied from interface:BiDirectionalFetchThe NavigablePath for the DomainResult or Fetch that this Fetch refers to. For `o`, the referenced path is `p`. For `oa`, it's `p.address` Different fromFetch.getNavigablePath()which returns this fetch's path, i.e. `p.address.owner` and `p.address.owner.address` respectively- Specified by:
getReferencedPathin interfaceBiDirectionalFetch
-
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- Overrides:
hasTableGroupin classAbstractNonJoinedEntityFetch
-
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch- Overrides:
createAssemblerin classAbstractNonJoinedEntityFetch
-
createInitializer
public EntityInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceFetchParent- Specified by:
createInitializerin classAbstractNonJoinedEntityFetch
-