public class BatchingLoadQueryDetailsFactory extends Object
LoadQueryDetails
object.Modifier and Type | Field and Description |
---|---|
static BatchingLoadQueryDetailsFactory |
INSTANCE
Singleton access
|
Modifier and Type | Method and Description |
---|---|
LoadQueryDetails |
makeCollectionLoadQueryDetails(CollectionPersister collectionPersister,
LoadPlan loadPlan,
QueryBuildingParameters buildingParameters)
Constructs a BasicCollectionLoadQueryDetails object from the given inputs.
|
EntityLoadQueryDetails |
makeEntityLoadQueryDetails(EntityLoadQueryDetails entityLoadQueryDetailsTemplate,
QueryBuildingParameters buildingParameters)
Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.
|
EntityLoadQueryDetails |
makeEntityLoadQueryDetails(LoadPlan loadPlan,
String[] keyColumnNames,
QueryBuildingParameters buildingParameters,
SessionFactoryImplementor factory)
Returns a EntityLoadQueryDetails object from the given inputs.
|
public static final BatchingLoadQueryDetailsFactory INSTANCE
public EntityLoadQueryDetails makeEntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
loadPlan
- The load plankeyColumnNames
- The columns to load the entity by (the PK columns or some other unique set of columns)buildingParameters
- And influencers that would affect the generated SQL (mostly we are concerned with those
that add additional joins here)factory
- The SessionFactorypublic EntityLoadQueryDetails makeEntityLoadQueryDetails(EntityLoadQueryDetails entityLoadQueryDetailsTemplate, QueryBuildingParameters buildingParameters)
entityLoadQueryDetailsTemplate
- the templatebuildingParameters
- And influencers that would affect the generated SQL (mostly we are concerned with those
that add additional joins here)public LoadQueryDetails makeCollectionLoadQueryDetails(CollectionPersister collectionPersister, LoadPlan loadPlan, QueryBuildingParameters buildingParameters)
collectionPersister
- The collection persister.loadPlan
- The load plan.buildingParameters
- And influencers that would affect the generated SQL (mostly we are concerned with those
that add additional joins here)Copyright © 2021 JBoss by Red Hat. All rights reserved.