Class BasicFetch<T>
java.lang.Object
org.hibernate.sql.results.graph.basic.BasicFetch<T>
- All Implemented Interfaces:
BasicResultGraphNode<T>, DomainResult<T>, DomainResultGraphNode, Fetch
Fetch for a basic-value
-
Constructor Summary
ConstructorsConstructorDescriptionBasicFetch(int valuesArrayPosition, FetchParent fetchParent, NavigablePath fetchablePath, BasicValuedModelPart valuedMapping, FetchTiming fetchTiming, DomainResultCreationState creationState, boolean unwrapRowProcessingState) BasicFetch(int valuesArrayPosition, FetchParent fetchParent, NavigablePath fetchablePath, BasicValuedModelPart valuedMapping, BasicValueConverter<T, ?> valueConverter, FetchTiming fetchTiming, boolean canBasicPartFetchBeDelayed, DomainResultCreationState creationState, boolean coerceResultType, boolean unwrapRowProcessingState) -
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 fetchcreateResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Create an assembler (and any initializers) for this result.The value mapping being fetchedObtain the owner of this fetch.Get the property path to this fetchJavaType<?> The result-variable (alias) associated with this result.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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DomainResultGraphNode
appliesToMethods inherited from interface Fetch
asFetchParent, containsAnyNonScalarResults
-
Constructor Details
-
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
-
getFetchedMapping
Description copied from interface:FetchThe value mapping being fetched- Specified by:
getFetchedMappingin interfaceFetch
-
getResultJavaType
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode
-
createAssembler
public DomainResultAssembler<T> createAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:FetchCreate the assembler for this fetch- Specified by:
createAssemblerin interfaceFetch
-
createResultAssembler
public DomainResultAssembler<T> createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult<T>
-
getResultVariable
Description copied from interface:DomainResultThe result-variable (alias) associated with this result.- Specified by:
getResultVariablein interfaceDomainResult<T>
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode
-