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 TypeMethodDescriptionvoidcollectValueIndexesToCache(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.booleanInitializer<?> 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.booleanMethods 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.entity.EntityResultGraphNode
appliesTo, containsAnyNonScalarResults, getReferencedMappingContainer, getResultJavaTypeMethods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
Constructor Details
-
Method Details
-
getReferencedMappingType
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getEntityValuedModelPart
- Specified by:
getEntityValuedModelPartin interfaceEntityResultGraphNode
-
getResultVariable
Description copied from interface:DomainResultThe result-variable (alias) associated with this result.- Specified by:
getResultVariablein interfaceDomainResult
-
getFetches
Description copied from interface:FetchParentRetrieve the fetches owned by this fetch source.- Specified by:
getFetchesin interfaceFetchParent
-
findFetch
- Specified by:
findFetchin interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()- Specified by:
hasJoinFetchesin interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()- Specified by:
containsCollectionFetchesin interfaceFetchParent
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode- Specified by:
collectValueIndexesToCachein interfaceFetchParent
-
createResultAssembler
public EntityAssembler createResultAssembler(InitializerParent parent, AssemblerCreationState creationState) Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult
-
createInitializer
public Initializer<?> createInitializer(EntityResultImpl resultGraphNode, InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceInitializerProducer<EntityResultImpl>
-
createInitializer
public Initializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) - Specified by:
createInitializerin interfaceFetchParent