Class AbstractEntityResultGraphNode
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- org.hibernate.sql.results.graph.entity.AbstractEntityResultGraphNode
-
- All Implemented Interfaces:
DomainResultGraphNode
,EntityResultGraphNode
,FetchParent
- Direct Known Subclasses:
EntityResultImpl
public abstract class AbstractEntityResultGraphNode extends AbstractFetchParent implements EntityResultGraphNode
AbstractFetchParent sub-class for entity-valued graph nodes
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityResultGraphNode(EntityValuedModelPart referencedModelPart, NavigablePath navigablePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
void
collectValueIndexesToCache(BitSet valueIndexes)
Collect the JDBC value indexes used by this domain result that should be cached.BasicFetch<?>
getDiscriminatorFetch()
EntityValuedModelPart
getEntityValuedModelPart()
FetchableContainer
getFetchContainer()
@Nullable Fetch
getIdentifierFetch()
EntityMappingType
getReferencedMappingContainer()
This parent's mapping typeJavaType<?>
getResultJavaType()
DomainResult<Object>
getRowIdResult()
-
Methods inherited from class org.hibernate.sql.results.graph.AbstractFetchParent
containsCollectionFetches, findFetch, getFetches, getNavigablePath, hasJoinFetches, resetFetches
-
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, getNavigablePath
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
containsCollectionFetches, createInitializer, findFetch, generateFetchableFetch, getCollectionFetchesCount, getFetches, getReferencedMappingType, getReferencedModePart, getRoot, hasJoinFetches, resolveNavigablePath
-
-
-
-
Constructor Detail
-
AbstractEntityResultGraphNode
public AbstractEntityResultGraphNode(EntityValuedModelPart referencedModelPart, NavigablePath navigablePath)
-
-
Method Detail
-
afterInitialize
public void afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
- Overrides:
afterInitialize
in classAbstractFetchParent
-
getReferencedMappingContainer
public EntityMappingType getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceEntityResultGraphNode
- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
- Overrides:
getReferencedMappingContainer
in classAbstractFetchParent
-
getEntityValuedModelPart
public EntityValuedModelPart getEntityValuedModelPart()
- Specified by:
getEntityValuedModelPart
in interfaceEntityResultGraphNode
-
getFetchContainer
public FetchableContainer getFetchContainer()
- Specified by:
getFetchContainer
in classAbstractFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
- Specified by:
getResultJavaType
in interfaceEntityResultGraphNode
- Overrides:
getResultJavaType
in classAbstractFetchParent
-
getIdentifierFetch
public @Nullable Fetch getIdentifierFetch()
-
getDiscriminatorFetch
public BasicFetch<?> getDiscriminatorFetch()
-
getRowIdResult
public DomainResult<Object> getRowIdResult()
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
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
- Overrides:
collectValueIndexesToCache
in classAbstractFetchParent
-
-