Package org.hibernate.sql.results.graph
Class AbstractFetchParent
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- All Implemented Interfaces:
DomainResultGraphNode,FetchParent
- Direct Known Subclasses:
AbstractEntityResultGraphNode,AggregateEmbeddableFetchImpl,AggregateEmbeddableResultImpl,EmbeddableExpressionResultImpl,EmbeddableFetchImpl,EmbeddableForeignKeyResultImpl,EmbeddableResultImpl
public abstract class AbstractFetchParent extends Object implements FetchParent
-
-
Constructor Summary
Constructors Constructor Description AbstractFetchParent(NavigablePath navigablePath)AbstractFetchParent(AbstractFetchParent original)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidafterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)voidcollectValueIndexesToCache(BitSet valueIndexes)Collect the JDBC value indexes used by this domain result that should be cached.booleancontainsCollectionFetches()FetchfindFetch(Fetchable fetchable)abstract FetchableContainergetFetchContainer()ImmutableFetchListgetFetches()Retrieve the fetches owned by this fetch source.NavigablePathgetNavigablePath()Get the property path to this parentFetchableContainergetReferencedMappingContainer()This parent's mapping typeJavaType<?>getResultJavaType()booleanhasJoinFetches()protected voidresetFetches(ImmutableFetchList newFetches)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesTo, containsAnyNonScalarResults
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
createInitializer, generateFetchableFetch, getCollectionFetchesCount, getReferencedMappingType, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
AbstractFetchParent
public AbstractFetchParent(NavigablePath navigablePath)
-
AbstractFetchParent
public AbstractFetchParent(AbstractFetchParent original)
-
-
Method Detail
-
afterInitialize
public void afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
-
resetFetches
protected void resetFetches(ImmutableFetchList newFetches)
-
getFetchContainer
public abstract FetchableContainer getFetchContainer()
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:FetchParentGet the property path to this parent- Specified by:
getNavigablePathin interfaceDomainResultGraphNode- Specified by:
getNavigablePathin interfaceFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode
-
getReferencedMappingContainer
public FetchableContainer getReferencedMappingContainer()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceFetchParent
-
getFetches
public ImmutableFetchList getFetches()
Description copied from interface:FetchParentRetrieve the fetches owned by this fetch source.- Specified by:
getFetchesin interfaceFetchParent
-
findFetch
public Fetch findFetch(Fetchable fetchable)
- Specified by:
findFetchin interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()
- Specified by:
hasJoinFetchesin interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetchesin interfaceFetchParent
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode- Specified by:
collectValueIndexesToCachein interfaceFetchParent
-
-