Interface EntityResultGraphNode
-
- All Superinterfaces:
DomainResultGraphNode
,FetchParent
- All Known Subinterfaces:
EntityFetch
,EntityResult
- All Known Implementing Classes:
AbstractEntityResultGraphNode
,AbstractNonJoinedEntityFetch
,AbstractNonLazyEntityFetch
,CircularFetchImpl
,EntityDelayedFetchImpl
,EntityFetchJoinedImpl
,EntityFetchSelectImpl
,EntityResultImpl
,EntityResultImpl
public interface EntityResultGraphNode extends DomainResultGraphNode, FetchParent
Represents a reference to an entity either as a return, fetch, or collection element or index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
appliesTo(GraphImplementor<?> graphImplementor, JpaMetamodel metamodel)
default boolean
containsAnyNonScalarResults()
Does this node contain any non-scalar (sub-)results?EntityValuedModelPart
getEntityValuedModelPart()
NavigablePath
getNavigablePath()
The NavigablePath for this node (if one!).default EntityMappingType
getReferencedMappingContainer()
This parent's mapping typedefault JavaType<?>
getResultJavaType()
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
collectValueIndexesToCache, containsCollectionFetches, createInitializer, findFetch, generateFetchableFetch, getFetches, getReferencedMappingType, getReferencedModePart, getRoot, hasJoinFetches, resolveNavigablePath
-
-
-
-
Method Detail
-
getNavigablePath
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
-
getEntityValuedModelPart
EntityValuedModelPart getEntityValuedModelPart()
-
containsAnyNonScalarResults
default boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
-
getResultJavaType
default JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
getReferencedMappingContainer
default EntityMappingType getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
-
appliesTo
default boolean appliesTo(GraphImplementor<?> graphImplementor, JpaMetamodel metamodel)
- Specified by:
appliesTo
in interfaceDomainResultGraphNode
-
-