Top Description Constructors Methods
org.hibernate.loader.plan.build.spi

public final Class MetamodelDrivenLoadPlanBuilder

extends Object
Class Inheritance
Imports
org.hibernate.loader.plan.spi.LoadPlan, org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.EntityPersister, org.hibernate.persister.walking.spi.MetamodelGraphWalker

A metadata-driven builder of LoadPlans. Coordinates between the MetamodelGraphWalker and a LoadPlanBuildingAssociationVisitationStrategy.
Author
Steve Ebersole
See Also
org.hibernate.persister.walking.spi.MetamodelGraphWalker

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LoadPlan

Returns:

The built load plan.
buildRootCollectionLoadPlan
(LoadPlanBuildingAssociationVisitationStrategy
The strategy defining the load plan shaping
strategy
,
CollectionPersister
The persister for the collection forming the root of the load plan.
persister
)

Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).

public static LoadPlan

Returns:

The built load plan.
buildRootEntityLoadPlan
(LoadPlanBuildingAssociationVisitationStrategy
The strategy defining the load plan shaping
strategy
,
EntityPersister
The persister for the entity forming the root of the load plan.
persister
)

Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MetamodelDrivenLoadPlanBuilderback to summary
private MetamodelDrivenLoadPlanBuilder()

Method Detail

buildRootCollectionLoadPlanback to summary
public static LoadPlan buildRootCollectionLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, CollectionPersister persister)

Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).

Parameters
strategy:LoadPlanBuildingAssociationVisitationStrategy

The strategy defining the load plan shaping

persister:CollectionPersister

The persister for the collection forming the root of the load plan.

Returns:LoadPlan

The built load plan.

buildRootEntityLoadPlanback to summary
public static LoadPlan buildRootEntityLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, EntityPersister persister)

Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).

Typically this includes building load plans for entity loading or cascade loading.

Parameters
strategy:LoadPlanBuildingAssociationVisitationStrategy

The strategy defining the load plan shaping

persister:EntityPersister

The persister for the entity forming the root of the load plan.

Returns:LoadPlan

The built load plan.