类 BatchingLoadQueryDetailsFactory
- java.lang.Object
-
- org.hibernate.loader.plan.exec.internal.BatchingLoadQueryDetailsFactory
-
public class BatchingLoadQueryDetailsFactory extends Object
A factory class for creating aLoadQueryDetailsobject.
-
-
字段概要
字段 修饰符和类型 字段 说明 static BatchingLoadQueryDetailsFactoryINSTANCESingleton access
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LoadQueryDetailsmakeCollectionLoadQueryDetails(CollectionPersister collectionPersister, LoadPlan loadPlan, QueryBuildingParameters buildingParameters)Constructs a BasicCollectionLoadQueryDetails object from the given inputs.EntityLoadQueryDetailsmakeEntityLoadQueryDetails(EntityLoadQueryDetails entityLoadQueryDetailsTemplate, QueryBuildingParameters buildingParameters)Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.EntityLoadQueryDetailsmakeEntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)Returns an EntityLoadQueryDetails object from the given inputs.
-
-
-
字段详细资料
-
INSTANCE
public static final BatchingLoadQueryDetailsFactory INSTANCE
Singleton access
-
-
方法详细资料
-
makeEntityLoadQueryDetails
public EntityLoadQueryDetails makeEntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
Returns an EntityLoadQueryDetails object from the given inputs.- 参数:
loadPlan- The load plankeyColumnNames- The columns to load the entity by (the PK columns or some other unique set of columns)buildingParameters- Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)factory- The SessionFactory- 返回:
- The EntityLoadQueryDetails
-
makeEntityLoadQueryDetails
public EntityLoadQueryDetails makeEntityLoadQueryDetails(EntityLoadQueryDetails entityLoadQueryDetailsTemplate, QueryBuildingParameters buildingParameters)
Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.- 参数:
entityLoadQueryDetailsTemplate- the templatebuildingParameters- Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)- 返回:
- The EntityLoadQueryDetails
-
makeCollectionLoadQueryDetails
public LoadQueryDetails makeCollectionLoadQueryDetails(CollectionPersister collectionPersister, LoadPlan loadPlan, QueryBuildingParameters buildingParameters)
Constructs a BasicCollectionLoadQueryDetails object from the given inputs.- 参数:
collectionPersister- The collection persister.loadPlan- The load plan.buildingParameters- Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)- 返回:
- The EntityLoadQueryDetails
-
-