Top Description Fields Constructors Methods
org.hibernate.loader.plan.exec.internal

public Class BatchingLoadQueryDetailsFactory

extends Object
Class Inheritance
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.loader.plan.exec.process.spi.ResultSetProcessorResolver, org.hibernate.loader.plan.exec.query.spi.QueryBuildingParameters, org.hibernate.loader.plan.exec.spi.LoadQueryDetails, org.hibernate.loader.plan.spi.CollectionReturn, .EntityReturn, .LoadPlan, org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.Queryable

A factory class for creating a org.hibernate.loader.plan.exec.spi.LoadQueryDetails object.

Field Summary

Modifier and TypeField and Description
public static final BatchingLoadQueryDetailsFactory
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
private
BatchingLoadQueryDetailsFactory()

Private to disallow instantiation

Method Summary

Modifier and TypeMethod and Description
public LoadQueryDetails

Returns:

The EntityLoadQueryDetails
makeCollectionLoadQueryDetails
(CollectionPersister
The collection persister.
collectionPersister
,
LoadPlan
The load plan.
loadPlan
,
QueryBuildingParameters
Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
buildingParameters
)

Constructs a BasicCollectionLoadQueryDetails object from the given inputs.

public EntityLoadQueryDetails

Returns:

The EntityLoadQueryDetails
makeEntityLoadQueryDetails
(LoadPlan
The load plan
loadPlan
,
String[]
The columns to load the entity by (the PK columns or some other unique set of columns)
keyColumnNames
,
QueryBuildingParameters
Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
buildingParameters
,
SessionFactoryImplementor
The SessionFactory
factory
,
ResultSetProcessorResolver
The ResultSet processor resolver.
resultSetProcessorResolver
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Returns an EntityLoadQueryDetails object from the given inputs.
public EntityLoadQueryDetails

Returns:

The EntityLoadQueryDetails
makeEntityLoadQueryDetails
(LoadPlan
The load plan
loadPlan
,
String[]
The columns to load the entity by (the PK columns or some other unique set of columns)
keyColumnNames
,
QueryBuildingParameters
Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
buildingParameters
,
SessionFactoryImplementor
The SessionFactory
factory
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Returns an EntityLoadQueryDetails object from the given inputs.
public EntityLoadQueryDetails

Returns:

The EntityLoadQueryDetails
makeEntityLoadQueryDetails
(EntityLoadQueryDetails
the template
entityLoadQueryDetailsTemplate
,
QueryBuildingParameters
Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
buildingParameters
,
ResultSetProcessorResolver
The ResultSet processor resolver.
resultSetProcessorResolver
)

Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.

public EntityLoadQueryDetails

Returns:

The EntityLoadQueryDetails
makeEntityLoadQueryDetails
(EntityLoadQueryDetails
the template
entityLoadQueryDetailsTemplate
,
QueryBuildingParameters
Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
buildingParameters
)

Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final BatchingLoadQueryDetailsFactory INSTANCE

Singleton access

Constructor Detail

BatchingLoadQueryDetailsFactoryback to summary
private BatchingLoadQueryDetailsFactory()

Private to disallow instantiation

Method Detail

makeCollectionLoadQueryDetailsback to summary
public LoadQueryDetails makeCollectionLoadQueryDetails(CollectionPersister collectionPersister, LoadPlan loadPlan, QueryBuildingParameters buildingParameters)

Constructs a BasicCollectionLoadQueryDetails object from the given inputs.

Parameters
collectionPersister:CollectionPersister

The collection persister.

loadPlan:LoadPlan

The load plan.

buildingParameters:QueryBuildingParameters

Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)

Returns:LoadQueryDetails

The EntityLoadQueryDetails

makeEntityLoadQueryDetailsback to summary
public EntityLoadQueryDetails makeEntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory, ResultSetProcessorResolver resultSetProcessorResolver)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Returns an EntityLoadQueryDetails object from the given inputs.

Parameters
loadPlan:LoadPlan

The load plan

keyColumnNames:String[]

The columns to load the entity by (the PK columns or some other unique set of columns)

buildingParameters:QueryBuildingParameters

Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)

factory:SessionFactoryImplementor

The SessionFactory

resultSetProcessorResolver:ResultSetProcessorResolver

The ResultSet processor resolver.

Returns:EntityLoadQueryDetails

The EntityLoadQueryDetails

makeEntityLoadQueryDetailsback to summary
public EntityLoadQueryDetails makeEntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Returns an EntityLoadQueryDetails object from the given inputs.

Parameters
loadPlan:LoadPlan

The load plan

keyColumnNames:String[]

The columns to load the entity by (the PK columns or some other unique set of columns)

buildingParameters:QueryBuildingParameters

Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)

factory:SessionFactoryImplementor

The SessionFactory

Returns:EntityLoadQueryDetails

The EntityLoadQueryDetails

makeEntityLoadQueryDetailsback to summary
public EntityLoadQueryDetails makeEntityLoadQueryDetails(EntityLoadQueryDetails entityLoadQueryDetailsTemplate, QueryBuildingParameters buildingParameters, ResultSetProcessorResolver resultSetProcessorResolver)

Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.

Parameters
entityLoadQueryDetailsTemplate:EntityLoadQueryDetails

the template

buildingParameters:QueryBuildingParameters

Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)

resultSetProcessorResolver:ResultSetProcessorResolver

The ResultSet processor resolver.

Returns:EntityLoadQueryDetails

The EntityLoadQueryDetails

makeEntityLoadQueryDetailsback to summary
public EntityLoadQueryDetails makeEntityLoadQueryDetails(EntityLoadQueryDetails entityLoadQueryDetailsTemplate, QueryBuildingParameters buildingParameters)

Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.

Parameters
entityLoadQueryDetailsTemplate:EntityLoadQueryDetails

the template

buildingParameters:QueryBuildingParameters

Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)

Returns:EntityLoadQueryDetails

The EntityLoadQueryDetails