public class DelegatedLoadPlanVisitationStrategy extends Object implements LoadPlanVisitationStrategy
| Constructor and Description |
|---|
DelegatedLoadPlanVisitationStrategy(ReturnGraphVisitationStrategy returnGraphVisitationStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(LoadPlan loadPlan)
Notification we are finished visitation.
|
void |
finishingCollectionFetch(CollectionFetch fetch)
Notification that we are finishing up the processing of a collection fetch
|
void |
finishingCompositeFetch(CompositeFetch fetch)
Notification that we are finishing up the processing of a composite fetch
|
void |
finishingEntityFetch(EntityFetch fetch)
Notification that we are finishing up the processing of an entity fetch
|
void |
finishingFetches(FetchOwner fetchOwner)
Notification that we are finishing up processing the fetches for the given fetch owner.
|
void |
finishingRootReturn(Return rootReturn)
Notification that we are finishing up processing a root return branch
|
void |
handleCollectionReturn(CollectionReturn rootCollectionReturn)
Notification that a root collection return is being processed.
|
void |
handleEntityReturn(EntityReturn rootEntityReturn)
Notification that a root entity return is being processed.
|
void |
handleScalarReturn(ScalarReturn scalarReturn)
Notification that a scalar return is being processed.
|
void |
start(LoadPlan loadPlan)
Notification we are preparing to start visitation.
|
void |
startingCollectionFetch(CollectionFetch fetch)
Notification we are starting the processing of a collection fetch
|
void |
startingCompositeFetch(CompositeFetch fetch)
Notification we are starting the processing of a component fetch
|
void |
startingEntityFetch(EntityFetch fetch)
Notification we are starting the processing of an entity fetch
|
void |
startingFetches(FetchOwner fetchOwner)
Notification that we are about to start processing the fetches for the given fetch owner.
|
void |
startingRootReturn(Return rootReturn)
Notification that a new root return branch is being started.
|
public DelegatedLoadPlanVisitationStrategy(ReturnGraphVisitationStrategy returnGraphVisitationStrategy)
public void start(LoadPlan loadPlan)
LoadPlanVisitationStrategystart in interface LoadPlanVisitationStrategypublic void finish(LoadPlan loadPlan)
LoadPlanVisitationStrategyfinish in interface LoadPlanVisitationStrategypublic void startingRootReturn(Return rootReturn)
ReturnGraphVisitationStrategystartingRootReturn in interface ReturnGraphVisitationStrategyrootReturn - The root return at the root of the branch.public void finishingRootReturn(Return rootReturn)
ReturnGraphVisitationStrategyfinishingRootReturn in interface ReturnGraphVisitationStrategyrootReturn - The RootReturn we are finishing up processing.public void handleScalarReturn(ScalarReturn scalarReturn)
ReturnGraphVisitationStrategyReturnGraphVisitationStrategy.startingRootReturn(org.hibernate.loader.plan.spi.Return) and ReturnGraphVisitationStrategy.finishingRootReturn(org.hibernate.loader.plan.spi.Return)handleScalarReturn in interface ReturnGraphVisitationStrategyscalarReturn - The scalar returnpublic void handleEntityReturn(EntityReturn rootEntityReturn)
ReturnGraphVisitationStrategyReturnGraphVisitationStrategy.startingRootReturn(org.hibernate.loader.plan.spi.Return) and ReturnGraphVisitationStrategy.finishingRootReturn(org.hibernate.loader.plan.spi.Return)handleEntityReturn in interface ReturnGraphVisitationStrategyrootEntityReturn - The root entity returnpublic void handleCollectionReturn(CollectionReturn rootCollectionReturn)
ReturnGraphVisitationStrategyReturnGraphVisitationStrategy.startingRootReturn(org.hibernate.loader.plan.spi.Return) and ReturnGraphVisitationStrategy.finishingRootReturn(org.hibernate.loader.plan.spi.Return)handleCollectionReturn in interface ReturnGraphVisitationStrategyrootCollectionReturn - The root collection returnpublic void startingFetches(FetchOwner fetchOwner)
ReturnGraphVisitationStrategystartingFetches in interface ReturnGraphVisitationStrategyfetchOwner - The fetch owner.public void finishingFetches(FetchOwner fetchOwner)
ReturnGraphVisitationStrategyfinishingFetches in interface ReturnGraphVisitationStrategyfetchOwner - The fetch owner.public void startingEntityFetch(EntityFetch fetch)
ReturnGraphVisitationStrategystartingEntityFetch in interface ReturnGraphVisitationStrategyfetch - The entity fetchpublic void finishingEntityFetch(EntityFetch fetch)
ReturnGraphVisitationStrategyfinishingEntityFetch in interface ReturnGraphVisitationStrategyfetch - The entity fetchpublic void startingCollectionFetch(CollectionFetch fetch)
ReturnGraphVisitationStrategystartingCollectionFetch in interface ReturnGraphVisitationStrategyfetch - The collection fetchpublic void finishingCollectionFetch(CollectionFetch fetch)
ReturnGraphVisitationStrategyfinishingCollectionFetch in interface ReturnGraphVisitationStrategyfetch - The collection fetchpublic void startingCompositeFetch(CompositeFetch fetch)
ReturnGraphVisitationStrategystartingCompositeFetch in interface ReturnGraphVisitationStrategyfetch - The composite fetchpublic void finishingCompositeFetch(CompositeFetch fetch)
ReturnGraphVisitationStrategyfinishingCompositeFetch in interface ReturnGraphVisitationStrategyfetch - The composite fetchCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.