public class ReactiveDynamicBatchingCollectionDelegator extends ReactiveCollectionLoader
org.hibernate.loader.BatchFetchStyle#DYNAMIC
which selects between a single-key ReactiveCollectionInitializer
and a batching ReactiveDynamicBatchingCollectionInitializer
depending upon how many keys it's given.org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer
Constructor and Description |
---|
ReactiveDynamicBatchingCollectionDelegator(QueryableCollection collectionPersister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) |
Modifier and Type | Method and Description |
---|---|
void | initialize(Serializable id, SharedSessionContractImplementor session) |
CompletionStage<Void> | reactiveInitialize(Serializable id, SharedSessionContractImplementor session) |
createSubselects, doReactiveQueryAndInitializeNonLazyCollections, endCollectionLoad, getReactiveResultSetProcessor, getRowsFromResultSet, isSubselectLoadingEnabled, preprocessSQL, processResultSet, reactiveLoadCollection, reactiveLoadCollectionBatch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCollectionPersisters, getEntityPersisters, getFactory
discoverTypes, doReactiveQueryAndInitializeNonLazyCollections, executeReactiveQueryStatement, limitHandler, reactiveProcessResultSet, toParameterArray
public ReactiveDynamicBatchingCollectionDelegator(QueryableCollection collectionPersister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
public void initialize(Serializable id, SharedSessionContractImplementor session) throws HibernateException
initialize
in class ReactiveCollectionLoader
HibernateException
public CompletionStage<Void> reactiveInitialize(Serializable id, SharedSessionContractImplementor session)
reactiveInitialize
in interface ReactiveCollectionInitializer
reactiveInitialize
in class ReactiveCollectionLoader