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 void
afterInitialize(DomainResultCreationState creationState)
void
collectValueIndexesToCache(BitSet valueIndexes)
Collect the JDBC value indexes used by this domain result that should be cached.boolean
containsAnyNonScalarResults()
Does this node contain any non-scalar (sub-)results?boolean
containsCollectionFetches()
Fetch
findFetch(Fetchable fetchable)
JavaType<?>
getBaseAssociationJtd()
Fetch
getDiscriminatorValueFetch()
ImmutableFetchList
getFetches()
Retrieve the fetches owned by this fetch source.Fetch
getKeyValueFetch()
NavigablePath
getNavigablePath()
The NavigablePath for this node (if one!).DiscriminatedAssociationModelPart
getReferencedMappingContainer()
This parent's mapping typeDiscriminatedAssociationModelPart
getReferencedMappingType()
This parent's mapping typeJavaType<?>
getResultJavaType()
boolean
hasJoinFetches()
-
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:DomainResultGraphNode
The NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePath
in interfaceDomainResultGraphNode
- Specified by:
getNavigablePath
in interfaceFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
-
getReferencedMappingContainer
public DiscriminatedAssociationModelPart getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
-
getReferencedMappingType
public DiscriminatedAssociationModelPart getReferencedMappingType()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingType
in interfaceFetchParent
-
getFetches
public ImmutableFetchList getFetches()
Description copied from interface:FetchParent
Retrieve the fetches owned by this fetch source.- Specified by:
getFetches
in interfaceFetchParent
-
findFetch
public Fetch findFetch(Fetchable fetchable)
- Specified by:
findFetch
in interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()
- Specified by:
hasJoinFetches
in interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetches
in interfaceFetchParent
-
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
-
-