Interface EntityFetch
-
- All Superinterfaces:
DomainResultGraphNode
,EntityResultGraphNode
,Fetch
,FetchParent
- All Known Implementing Classes:
AbstractNonJoinedEntityFetch
,CircularFetchImpl
,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 void
collectValueIndexesToCache(BitSet valueIndexes)
Collect the JDBC value indexes used by this domain result that should be cached.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, createInitializer, findFetch, generateFetchableFetch, getCollectionFetchesCount, 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
-
collectValueIndexesToCache
default 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
-
-