Class EntityResultImpl
java.lang.Object
org.hibernate.query.results.internal.complete.EntityResultImpl
- All Implemented Interfaces:
DomainResult
,DomainResultGraphNode
,EntityResult
,EntityResultGraphNode
,FetchParent
,InitializerProducer<EntityResultImpl>
public class EntityResultImpl
extends Object
implements EntityResult, InitializerProducer<EntityResultImpl>
-
Constructor Summary
ConstructorsConstructorDescriptionEntityResultImpl
(NavigablePath navigablePath, EntityValuedModelPart entityValuedModelPart, String resultAlias, LockMode lockMode, Function<EntityResultImpl, BasicFetch<?>> discriminatorFetchBuilder, DomainResultCreationState creationState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectValueIndexesToCache
(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.boolean
Initializer<?>
createInitializer
(EntityResultImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) Initializer<?>
createInitializer
(InitializerParent<?> parent, AssemblerCreationState creationState) createResultAssembler
(InitializerParent parent, AssemblerCreationState creationState) Create an assembler (and any initializers) for this result.Retrieve the fetches owned by this fetch source.The NavigablePath for this node (if one!).This parent's mapping typeThe result-variable (alias) associated with this result.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityResultGraphNode
appliesTo, containsAnyNonScalarResults, getReferencedMappingContainer, getResultJavaType
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
Method Details
-
getReferencedMappingType
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getEntityValuedModelPart
- Specified by:
getEntityValuedModelPart
in interfaceEntityResultGraphNode
-
getResultVariable
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult
-
getFetches
Description copied from interface:FetchParent
Retrieve the fetches owned by this fetch source.- Specified by:
getFetches
in interfaceFetchParent
-
findFetch
- Specified by:
findFetch
in interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()- Specified by:
hasJoinFetches
in interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()- Specified by:
containsCollectionFetches
in interfaceFetchParent
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNode
Collect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCache
in interfaceDomainResultGraphNode
- Specified by:
collectValueIndexesToCache
in interfaceFetchParent
-
createResultAssembler
public EntityAssembler createResultAssembler(InitializerParent parent, AssemblerCreationState creationState) Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult
-
createInitializer
public Initializer<?> createInitializer(EntityResultImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializer
in interfaceInitializerProducer<EntityResultImpl>
-
createInitializer
public Initializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializer
in interfaceFetchParent