Package org.hibernate.loader.collection
Class PaddedBatchingCollectionInitializerBuilder
- java.lang.Object
-
- org.hibernate.loader.collection.BatchingCollectionInitializerBuilder
-
- org.hibernate.loader.collection.PaddedBatchingCollectionInitializerBuilder
-
public class PaddedBatchingCollectionInitializerBuilder extends BatchingCollectionInitializerBuilder
A batch-fetch capable CollectionInitializer that performs batch-fetching using the padded style. SeeBatchFetchStyle
for a discussion of the different styles.- See Also:
BatchFetchStyle.PADDED
-
-
Field Summary
Fields Modifier and Type Field Description static PaddedBatchingCollectionInitializerBuilder
INSTANCE
-
Constructor Summary
Constructors Constructor Description PaddedBatchingCollectionInitializerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionInitializer
createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
CollectionInitializer
createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
Methods inherited from class org.hibernate.loader.collection.BatchingCollectionInitializerBuilder
buildNonBatchingLoader, createBatchingCollectionInitializer, createBatchingOneToManyInitializer, getBuilder
-
-
-
-
Field Detail
-
INSTANCE
public static final PaddedBatchingCollectionInitializerBuilder INSTANCE
-
-
Method Detail
-
createRealBatchingCollectionInitializer
public CollectionInitializer createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException
- Specified by:
createRealBatchingCollectionInitializer
in classBatchingCollectionInitializerBuilder
- Throws:
MappingException
-
createRealBatchingOneToManyInitializer
public CollectionInitializer createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException
- Specified by:
createRealBatchingOneToManyInitializer
in classBatchingCollectionInitializerBuilder
- Throws:
MappingException
-
-