Interface EntityFetch
- All Superinterfaces:
DomainResultGraphNode
,EntityResultGraphNode
,Fetch
,FetchParent
- All Known Implementing Classes:
AbstractNonJoinedEntityFetch
,CircularFetchImpl
,EntityDelayedFetchImpl
,EntityFetchJoinedImpl
,EntityFetchSelectImpl
Specialization of Fetch for entity-valued fetches
-
Method Summary
Modifier and TypeMethodDescriptiondefault FetchParent
Utility method to avoidinstanceof
checks.default void
collectValueIndexesToCache
(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.default boolean
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, createInitializer, findFetch, generateFetchableFetch, getCollectionFetchesCount, getFetches, getReferencedMappingType, getReferencedModePart, getRoot, hasJoinFetches, resolveNavigablePath
-
Method Details
-
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
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
-
collectValueIndexesToCache
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
-