Interface FetchParent
- All Superinterfaces:
DomainResultGraphNode
- All Known Subinterfaces:
AggregateEmbeddableResultGraphNode, EmbeddableResult<T>, EmbeddableResultGraphNode, EntityFetch, EntityResult, EntityResultGraphNode
- All Known Implementing Classes:
AbstractDiscriminatedEntityResultGraphNode, AbstractEntityResultGraphNode, AbstractFetchParent
Contract for things that can be the parent of a fetch
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcollectValueIndexesToCache(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.booleanInitializer<?> createInitializer(InitializerParent<?> parent, AssemblerCreationState creationState) default FetchgenerateFetchableFetch(Fetchable fetchable, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState) default intorg.hibernate.sql.results.graph.internal.ImmutableFetchListRetrieve the fetches owned by this fetch source.Get the property path to this parentThis parent's mapping typeThis parent's mapping typedefault ModelPartWhereasgetReferencedMappingContainer()andgetReferencedMappingType()return the referenced container type, this method returns the referenced part.default FetchParentgetRoot()booleandefault NavigablePathresolveNavigablePath(Fetchable fetchable) Methods inherited from interface DomainResultGraphNode
appliesTo, containsAnyNonScalarResults, getResultJavaType
-
Method Details
-
getReferencedMappingContainer
FetchableContainer getReferencedMappingContainer()This parent's mapping type -
getReferencedMappingType
FetchableContainer getReferencedMappingType()This parent's mapping type -
getReferencedModePart
WhereasgetReferencedMappingContainer()andgetReferencedMappingType()return the referenced container type, this method returns the referenced part. E.g. for a many-to-one this method returns theToOneAttributeMappingwhilegetReferencedMappingContainer()andgetReferencedMappingType()return the referencedEntityMappingType. -
getFetches
org.hibernate.sql.results.graph.internal.ImmutableFetchList getFetches()Retrieve the fetches owned by this fetch source. -
findFetch
-
hasJoinFetches
boolean hasJoinFetches() -
containsCollectionFetches
boolean containsCollectionFetches() -
getCollectionFetchesCount
default int getCollectionFetchesCount() -
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode
-
createInitializer
-
getRoot
-