Package org.hibernate.loader.collection
Class DynamicBatchingCollectionInitializerBuilder
- java.lang.Object
-
- org.hibernate.loader.collection.BatchingCollectionInitializerBuilder
-
- org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder
-
public class DynamicBatchingCollectionInitializerBuilder extends BatchingCollectionInitializerBuilder
A BatchingCollectionInitializerBuilder that builds CollectionInitializer instances capable of dynamically building its batch-fetch SQL based on the actual number of collections keys waiting to be fetched.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer
-
Field Summary
Fields Modifier and Type Field Description static DynamicBatchingCollectionInitializerBuilder
INSTANCE
-
Constructor Summary
Constructors Constructor Description DynamicBatchingCollectionInitializerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CollectionInitializer
createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
protected CollectionInitializer
createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
-
Methods inherited from class org.hibernate.loader.collection.BatchingCollectionInitializerBuilder
buildNonBatchingLoader, createBatchingCollectionInitializer, createBatchingOneToManyInitializer, getBuilder
-
-
-
-
Field Detail
-
INSTANCE
public static final DynamicBatchingCollectionInitializerBuilder INSTANCE
-
-
Method Detail
-
createRealBatchingCollectionInitializer
protected CollectionInitializer createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
- Specified by:
createRealBatchingCollectionInitializer
in classBatchingCollectionInitializerBuilder
-
createRealBatchingOneToManyInitializer
protected CollectionInitializer createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
- Specified by:
createRealBatchingOneToManyInitializer
in classBatchingCollectionInitializerBuilder
-
-