类 MetamodelDrivenLoadPlanBuilder
- java.lang.Object
-
- org.hibernate.loader.plan.build.spi.MetamodelDrivenLoadPlanBuilder
-
public final class MetamodelDrivenLoadPlanBuilder extends Object
A metadata-driven builder of LoadPlans. Coordinates between theMetamodelGraphWalkerand aLoadPlanBuildingAssociationVisitationStrategy.- 作者:
- Steve Ebersole
- 另请参阅:
MetamodelGraphWalker
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static LoadPlanbuildRootCollectionLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, CollectionPersister persister)Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).static LoadPlanbuildRootEntityLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, EntityPersister persister)Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).
-
-
-
方法详细资料
-
buildRootEntityLoadPlan
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.- 参数:
strategy- The strategy defining the load plan shapingpersister- The persister for the entity forming the root of the load plan.- 返回:
- The built load plan.
-
buildRootCollectionLoadPlan
public static LoadPlan buildRootCollectionLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, CollectionPersister persister)
Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).- 参数:
strategy- The strategy defining the load plan shapingpersister- The persister for the collection forming the root of the load plan.- 返回:
- The built load plan.
-
-