Top Description Constructors Methods
org.hibernate.loader.collection

public abstract Class BatchingCollectionInitializerBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder, org.hibernate.loader.collection.LegacyBatchingCollectionInitializerBuilder, org.hibernate.loader.collection.PaddedBatchingCollectionInitializerBuilder, org.hibernate.loader.collection.plan.AbstractBatchingCollectionInitializerBuilder
Imports
org.hibernate.engine.spi.LoadQueryInfluencers, .SessionFactoryImplementor, org.hibernate.persister.collection.QueryableCollection

Contract for building CollectionInitializer instances capable of performing batch-fetch loading.
Author
Steve Ebersole
See Also
org.hibernate.loader.BatchFetchStyle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected CollectionInitializer
buildNonBatchingLoader(QueryableCollection persister, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public CollectionInitializer

Returns:

The batch-fetch capable collection initializer
createBatchingCollectionInitializer
(QueryableCollection
THe collection persister
persister
,
int
The maximum number of keys to batch-fetch together
maxBatchSize
,
SessionFactoryImplementor
The SessionFactory
factory
,
LoadQueryInfluencers
Any influencers that should affect the built query
influencers
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Builds a batch-fetch capable CollectionInitializer for basic and many-to-many collections (collections with a dedicated collection table).
public CollectionInitializer

Returns:

The batch-fetch capable collection initializer
createBatchingOneToManyInitializer
(QueryableCollection
THe collection persister
persister
,
int
The maximum number of keys to batch-fetch together
maxBatchSize
,
SessionFactoryImplementor
The SessionFactory
factory
,
LoadQueryInfluencers
Any influencers that should affect the built query
influencers
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Builds a batch-fetch capable CollectionInitializer for one-to-many collections (collections without a dedicated collection table).
protected abstract CollectionInitializer
createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
protected abstract CollectionInitializer
createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static BatchingCollectionInitializerBuilder
getBuilder(SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BatchingCollectionInitializerBuilderback to summary
public BatchingCollectionInitializerBuilder()

Method Detail

buildNonBatchingLoaderback to summary
protected CollectionInitializer buildNonBatchingLoader(QueryableCollection persister, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

createBatchingCollectionInitializerback to summary
public CollectionInitializer createBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

Builds a batch-fetch capable CollectionInitializer for basic and many-to-many collections (collections with a dedicated collection table).

Parameters
persister:QueryableCollection

THe collection persister

maxBatchSize:int

The maximum number of keys to batch-fetch together

factory:SessionFactoryImplementor

The SessionFactory

influencers:LoadQueryInfluencers

Any influencers that should affect the built query

Returns:CollectionInitializer

The batch-fetch capable collection initializer

createBatchingOneToManyInitializerback to summary
public CollectionInitializer createBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

Builds a batch-fetch capable CollectionInitializer for one-to-many collections (collections without a dedicated collection table).

Parameters
persister:QueryableCollection

THe collection persister

maxBatchSize:int

The maximum number of keys to batch-fetch together

factory:SessionFactoryImplementor

The SessionFactory

influencers:LoadQueryInfluencers

Any influencers that should affect the built query

Returns:CollectionInitializer

The batch-fetch capable collection initializer

createRealBatchingCollectionInitializerback to summary
protected abstract CollectionInitializer createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

createRealBatchingOneToManyInitializerback to summary
protected abstract CollectionInitializer createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

getBuilderback to summary
public static BatchingCollectionInitializerBuilder getBuilder(SessionFactoryImplementor factory)

Deprecated

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