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)
LoadPlanVisitationStrategy
start
in interface LoadPlanVisitationStrategy
public void finish(LoadPlan loadPlan)
LoadPlanVisitationStrategy
finish
in interface LoadPlanVisitationStrategy
public void startingRootReturn(Return rootReturn)
ReturnGraphVisitationStrategy
startingRootReturn
in interface ReturnGraphVisitationStrategy
rootReturn
- The root return at the root of the branch.public void finishingRootReturn(Return rootReturn)
ReturnGraphVisitationStrategy
finishingRootReturn
in interface ReturnGraphVisitationStrategy
rootReturn
- The RootReturn we are finishing up processing.public void handleScalarReturn(ScalarReturn scalarReturn)
ReturnGraphVisitationStrategy
ReturnGraphVisitationStrategy.startingRootReturn(org.hibernate.loader.plan.spi.Return)
and ReturnGraphVisitationStrategy.finishingRootReturn(org.hibernate.loader.plan.spi.Return)
handleScalarReturn
in interface ReturnGraphVisitationStrategy
scalarReturn
- The scalar returnpublic void handleEntityReturn(EntityReturn rootEntityReturn)
ReturnGraphVisitationStrategy
ReturnGraphVisitationStrategy.startingRootReturn(org.hibernate.loader.plan.spi.Return)
and ReturnGraphVisitationStrategy.finishingRootReturn(org.hibernate.loader.plan.spi.Return)
handleEntityReturn
in interface ReturnGraphVisitationStrategy
rootEntityReturn
- The root entity returnpublic void handleCollectionReturn(CollectionReturn rootCollectionReturn)
ReturnGraphVisitationStrategy
ReturnGraphVisitationStrategy.startingRootReturn(org.hibernate.loader.plan.spi.Return)
and ReturnGraphVisitationStrategy.finishingRootReturn(org.hibernate.loader.plan.spi.Return)
handleCollectionReturn
in interface ReturnGraphVisitationStrategy
rootCollectionReturn
- The root collection returnpublic void startingFetches(FetchOwner fetchOwner)
ReturnGraphVisitationStrategy
startingFetches
in interface ReturnGraphVisitationStrategy
fetchOwner
- The fetch owner.public void finishingFetches(FetchOwner fetchOwner)
ReturnGraphVisitationStrategy
finishingFetches
in interface ReturnGraphVisitationStrategy
fetchOwner
- The fetch owner.public void startingEntityFetch(EntityFetch fetch)
ReturnGraphVisitationStrategy
startingEntityFetch
in interface ReturnGraphVisitationStrategy
fetch
- The entity fetchpublic void finishingEntityFetch(EntityFetch fetch)
ReturnGraphVisitationStrategy
finishingEntityFetch
in interface ReturnGraphVisitationStrategy
fetch
- The entity fetchpublic void startingCollectionFetch(CollectionFetch fetch)
ReturnGraphVisitationStrategy
startingCollectionFetch
in interface ReturnGraphVisitationStrategy
fetch
- The collection fetchpublic void finishingCollectionFetch(CollectionFetch fetch)
ReturnGraphVisitationStrategy
finishingCollectionFetch
in interface ReturnGraphVisitationStrategy
fetch
- The collection fetchpublic void startingCompositeFetch(CompositeFetch fetch)
ReturnGraphVisitationStrategy
startingCompositeFetch
in interface ReturnGraphVisitationStrategy
fetch
- The composite fetchpublic void finishingCompositeFetch(CompositeFetch fetch)
ReturnGraphVisitationStrategy
finishingCompositeFetch
in interface ReturnGraphVisitationStrategy
fetch
- The composite fetchCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.