public class ReactiveDynamicBatchingCollectionDelegator extends ReactiveCollectionLoader
BatchFetchStyle.DYNAMIC
which selects between a single-key ReactiveCollectionInitializer
and a
batching ReactiveDynamicBatchingCollectionInitializer
depending upon how many keys it's
given.DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer
Constructor and Description |
---|
ReactiveDynamicBatchingCollectionDelegator(org.hibernate.persister.collection.QueryableCollection collectionPersister,
int maxBatchSize,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
org.hibernate.engine.spi.LoadQueryInfluencers influencers) |
Modifier and Type | Method and Description |
---|---|
void |
initialize(java.io.Serializable id,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
java.util.concurrent.CompletionStage<java.lang.Void> |
reactiveInitialize(java.io.Serializable id,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
createSubselects, doReactiveQueryAndInitializeNonLazyCollections, endCollectionLoad, getReactiveResultSetProcessor, getRowsFromResultSet, initFromWalker, isSubselectLoadingEnabled, parameters, preprocessSQL, processResultSet, reactiveLoadCollection, reactiveLoadCollectionBatch
collectionPersister, getKeyType, toString
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEntityPersisters, getLoadQueryInfluencers, getLockModes, getLockOptions, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes
generateSuffixes, generateSuffixes, getCollectionAliases, getEntityAliases, postInstantiate
applyLocks, applyPostLoadLocks, areResultSetRowsTransformedImmediately, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, bindPreparedStatement, checkScrollability, createCacheableResultTransformer, determineFollowOnLockMode, doList, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, executeQueryStatement, executeQueryStatement, extractKeysFromResultSet, generateQueryKey, getCompositeKeyManyToOneTargetIndices, getEntityEagerPerPropertyFetches, getEntityEagerPropertyFetches, getEntityPersister, getFactory, getLimitHandler, getNamedParameterLocs, getOptionalObjectKey, getQueryIdentifier, getResultColumnOrRow, getResultFromQueryCache, getResultList, getResultRow, getResultRowAliases, getResultSet, getResultSet, handleEmptyCollections, hasSubselectLoadableCollections, includeInResultRow, instanceAlreadyLoaded, instanceNotYetLoaded, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessResultSet, processDistinctKeyword, putResultInQueryCache, registerNonExists, resolveResultTransformer, scroll, shouldUseFollowOnLocking, upgradeLocks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCollectionPersisters, getEntityPersisters, getFactory
discoverTypes, doReactiveQueryAndInitializeNonLazyCollections, doReactiveQueryAndInitializeNonLazyCollections, executeReactiveQueryStatement, isPostgresSQL, limitHandler, reactiveProcessResultSet, toParameterArray
public ReactiveDynamicBatchingCollectionDelegator(org.hibernate.persister.collection.QueryableCollection collectionPersister, int maxBatchSize, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.LoadQueryInfluencers influencers)
public void initialize(java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
initialize
in interface org.hibernate.loader.collection.CollectionInitializer
initialize
in class ReactiveCollectionLoader
org.hibernate.HibernateException
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveInitialize(java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
reactiveInitialize
in interface ReactiveCollectionInitializer
reactiveInitialize
in class ReactiveCollectionLoader