public class LoadPlanBuilder extends Object
LoadPlan
between the MetadataDrivenModelGraphVisitor
and
LoadPlanBuilderStrategy
Constructor and Description |
---|
LoadPlanBuilder() |
Modifier and Type | Method and Description |
---|---|
static LoadPlan |
buildRootCollectionLoadPlan(LoadPlanBuilderStrategy strategy,
CollectionPersister persister)
Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).
|
static LoadPlan |
buildRootEntityLoadPlan(LoadPlanBuilderStrategy strategy,
EntityPersister persister)
Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).
|
public static LoadPlan buildRootEntityLoadPlan(LoadPlanBuilderStrategy strategy, EntityPersister persister)
strategy
- The strategy defining the load plan shapingpersister
- The persister for the entity forming the root of the load plan.public static LoadPlan buildRootCollectionLoadPlan(LoadPlanBuilderStrategy strategy, CollectionPersister persister)
strategy
- The strategy defining the load plan shapingpersister
- The persister for the collection forming the root of the load plan.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.