Class CircularBiDirectionalFetchImpl
java.lang.Object
org.hibernate.sql.results.internal.domain.CircularBiDirectionalFetchImpl
- All Implemented Interfaces:
BiDirectionalFetch,DomainResultGraphNode,Fetch
-
Constructor Summary
ConstructorsConstructorDescriptionCircularBiDirectionalFetchImpl(FetchTiming timing, NavigablePath navigablePath, FetchParent fetchParent, ToOneAttributeMapping referencedModelPart, NavigablePath referencedNavigablePath, @Nullable DomainResult<?> keyResult) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectValueIndexesToCache(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Create the assembler for this fetchThe value mapping being fetchedObtain the owner of this fetch.Get the property path to this fetchThe NavigablePath for the DomainResult or Fetch that this Fetch refers to.JavaType<?> 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesToMethods inherited from interface org.hibernate.sql.results.graph.Fetch
asFetchParent, containsAnyNonScalarResults
-
Constructor Details
-
Method Details
-
getFetchedMapping
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
getResultJavaType
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode
-
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
-
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
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceBiDirectionalFetch- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode
-
createAssembler
public DomainResultAssembler<?> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch