Interface EntityFetch
-
- All Superinterfaces:
DomainResultGraphNode
,EntityResultGraphNode
,Fetch
,FetchParent
- All Known Implementing Classes:
AbstractNonJoinedEntityFetch
,AbstractNonLazyEntityFetch
,EntityDelayedFetchImpl
,EntityFetchJoinedImpl
,EntityFetchSelectImpl
public interface EntityFetch extends EntityResultGraphNode, Fetch
Specialization of Fetch for entity-valued fetches
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FetchParent
asFetchParent()
Utility method to avoidinstanceof
checks.default boolean
containsAnyNonScalarResults()
Does this node contain any non-scalar (sub-)results?-
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityResultGraphNode
appliesTo, getEntityValuedModelPart, getNavigablePath, getReferencedMappingContainer, getResultJavaType
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetch
createAssembler, getFetchedMapping, getFetchParent, getNavigablePath, getTiming, hasTableGroup
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
containsCollectionFetches, findFetch, generateFetchableFetch, getFetches, getReferencedMappingType, getReferencedModePart, getRoot, hasJoinFetches, resolveNavigablePath
-
-
-
-
Method Detail
-
containsAnyNonScalarResults
default boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
- Specified by:
containsAnyNonScalarResults
in interfaceEntityResultGraphNode
- Specified by:
containsAnyNonScalarResults
in interfaceFetch
-
asFetchParent
default FetchParent asFetchParent()
Description copied from interface:Fetch
Utility method to avoidinstanceof
checks. Returns this if it's an instance ofFetchParent
, null otherwise.- Specified by:
asFetchParent
in interfaceFetch
-
-