public abstract class ReactiveBatchingCollectionInitializerBuilder
extends java.lang.Object
collection initializers
.
The getBuilder(SessionFactoryImplementor)
method selects
between ReactivePaddedBatchingCollectionInitializerBuilder
and
ReactiveDynamicBatchingCollectionInitializerBuilder
depending upon
the BatchFetchStyle
selected.BatchingEntityLoaderBuilder
Constructor and Description |
---|
ReactiveBatchingCollectionInitializerBuilder() |
Modifier and Type | Method and Description |
---|---|
protected ReactiveCollectionLoader |
buildNonBatchingLoader(org.hibernate.persister.collection.QueryableCollection persister,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
org.hibernate.engine.spi.LoadQueryInfluencers influencers) |
ReactiveCollectionLoader |
createBatchingCollectionInitializer(org.hibernate.persister.collection.QueryableCollection persister,
int maxBatchSize,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
org.hibernate.engine.spi.LoadQueryInfluencers influencers)
Builds a batch-fetch capable CollectionInitializer for basic and many-to-many collections (collections with
a dedicated collection table).
|
ReactiveCollectionLoader |
createBatchingOneToManyInitializer(org.hibernate.persister.collection.QueryableCollection persister,
int maxBatchSize,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
org.hibernate.engine.spi.LoadQueryInfluencers influencers)
Builds a batch-fetch capable CollectionInitializer for one-to-many collections (collections without
a dedicated collection table).
|
protected abstract ReactiveCollectionLoader |
createRealBatchingCollectionInitializer(org.hibernate.persister.collection.QueryableCollection persister,
int maxBatchSize,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
org.hibernate.engine.spi.LoadQueryInfluencers influencers) |
protected abstract ReactiveCollectionLoader |
createRealBatchingOneToManyInitializer(org.hibernate.persister.collection.QueryableCollection persister,
int maxBatchSize,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
org.hibernate.engine.spi.LoadQueryInfluencers influencers) |
static ReactiveBatchingCollectionInitializerBuilder |
getBuilder(org.hibernate.engine.spi.SessionFactoryImplementor factory) |
public ReactiveBatchingCollectionInitializerBuilder()
public static ReactiveBatchingCollectionInitializerBuilder getBuilder(org.hibernate.engine.spi.SessionFactoryImplementor factory)
public ReactiveCollectionLoader createBatchingCollectionInitializer(org.hibernate.persister.collection.QueryableCollection persister, int maxBatchSize, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.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 ReactiveCollectionLoader createRealBatchingCollectionInitializer(org.hibernate.persister.collection.QueryableCollection persister, int maxBatchSize, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.LoadQueryInfluencers influencers)
public ReactiveCollectionLoader createBatchingOneToManyInitializer(org.hibernate.persister.collection.QueryableCollection persister, int maxBatchSize, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.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 ReactiveCollectionLoader createRealBatchingOneToManyInitializer(org.hibernate.persister.collection.QueryableCollection persister, int maxBatchSize, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.LoadQueryInfluencers influencers)
protected ReactiveCollectionLoader buildNonBatchingLoader(org.hibernate.persister.collection.QueryableCollection persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.LoadQueryInfluencers influencers)