public abstract class BatchingCollectionInitializerBuilder extends Object
CollectionInitializer
instances capable of performing batch-fetch loading.BatchFetchStyle
Constructor and Description |
---|
BatchingCollectionInitializerBuilder() |
public BatchingCollectionInitializerBuilder()
public static BatchingCollectionInitializerBuilder getBuilder(SessionFactoryImplementor factory)
public CollectionInitializer createBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
persister
- THe collection persistermaxBatchSize
- The maximum number of keys to batch-fetch togetherfactory
- The SessionFactoryinfluencers
- Any influencers that should affect the built queryprotected abstract CollectionInitializer createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
public CollectionInitializer createBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
persister
- THe collection persistermaxBatchSize
- The maximum number of keys to batch-fetch togetherfactory
- The SessionFactoryinfluencers
- Any influencers that should affect the built queryprotected abstract CollectionInitializer createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
protected CollectionInitializer buildNonBatchingLoader(QueryableCollection persister, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
Copyright © 2021 JBoss by Red Hat. All rights reserved.