Class AbstractDiscriminatedEntityResultGraphNode
- java.lang.Object
-
- org.hibernate.sql.results.graph.entity.AbstractDiscriminatedEntityResultGraphNode
-
- All Implemented Interfaces:
DomainResultGraphNode,FetchParent
- Direct Known Subclasses:
DiscriminatedEntityFetch,DiscriminatedEntityResult
public abstract class AbstractDiscriminatedEntityResultGraphNode extends Object implements DomainResultGraphNode, FetchParent
-
-
Constructor Summary
Constructors Constructor Description AbstractDiscriminatedEntityResultGraphNode(NavigablePath navigablePath, DiscriminatedAssociationModelPart graphedPart, JavaType<?> baseAssociationJtd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterInitialize(DomainResultCreationState creationState)voidcollectValueIndexesToCache(BitSet valueIndexes)Collect the JDBC value indexes used by this domain result that should be cached.booleancontainsAnyNonScalarResults()Does this node contain any non-scalar (sub-)results?booleancontainsCollectionFetches()FetchfindFetch(Fetchable fetchable)JavaType<?>getBaseAssociationJtd()FetchgetDiscriminatorValueFetch()ImmutableFetchListgetFetches()Retrieve the fetches owned by this fetch source.FetchgetKeyValueFetch()NavigablePathgetNavigablePath()The NavigablePath for this node (if one!).DiscriminatedAssociationModelPartgetReferencedMappingContainer()This parent's mapping typeDiscriminatedAssociationModelPartgetReferencedMappingType()This parent's mapping typeJavaType<?>getResultJavaType()booleanhasJoinFetches()-
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.DomainResultGraphNode
appliesTo
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
createInitializer, generateFetchableFetch, getCollectionFetchesCount, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
AbstractDiscriminatedEntityResultGraphNode
public AbstractDiscriminatedEntityResultGraphNode(NavigablePath navigablePath, DiscriminatedAssociationModelPart graphedPart, JavaType<?> baseAssociationJtd)
-
-
Method Detail
-
afterInitialize
protected void afterInitialize(DomainResultCreationState creationState)
-
getDiscriminatorValueFetch
public Fetch getDiscriminatorValueFetch()
-
getKeyValueFetch
public Fetch getKeyValueFetch()
-
getBaseAssociationJtd
public JavaType<?> getBaseAssociationJtd()
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:DomainResultGraphNodeThe NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePathin interfaceDomainResultGraphNode- Specified by:
getNavigablePathin interfaceFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNodeDoes this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResultsin interfaceDomainResultGraphNode
-
getReferencedMappingContainer
public DiscriminatedAssociationModelPart getReferencedMappingContainer()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceFetchParent
-
getReferencedMappingType
public DiscriminatedAssociationModelPart getReferencedMappingType()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getFetches
public ImmutableFetchList getFetches()
Description copied from interface:FetchParentRetrieve the fetches owned by this fetch source.- Specified by:
getFetchesin interfaceFetchParent
-
findFetch
public Fetch findFetch(Fetchable fetchable)
- Specified by:
findFetchin interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()
- Specified by:
hasJoinFetchesin interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetchesin interfaceFetchParent
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
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
-
-