class ReactiveDynamicBatchingEntityLoader extends ReactiveEntityLoader
ReactiveEntityLoader
whose generated SQL contains a placeholder that is interpolated with a batch of ids at runtime. Used when for org.hibernate.loader.BatchFetchStyle#DYNAMIC
is selected.org.hibernate.loader.entity.DynamicBatchingEntityLoaderBuilder.DynamicEntityLoader
, ReactiveDynamicBatchingEntityDelegator
Constructor and Description |
---|
ReactiveDynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) |
ReactiveDynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<List<Object>> | doEntityBatchFetch(SessionImplementor session, QueryParameters queryParameters, Serializable[] ids) |
(package private) static String | expandBatchIdPlaceholder(String sql, Serializable[] ids, String alias, String[] keyColumnNames, Dialect dialect) |
protected boolean | isSingleRowLoader() |
boolean | isSubselectLoadingEnabled() |
getCompositeKeyManyToOneTargetIndices
createSubselects, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, doReactiveQueryAndInitializeNonLazyCollections, endCollectionLoad, getReactiveResultSetProcessor, getRowsFromResultSet, load, load, load, load, load, loadReactiveEntity, preprocessSQL, processResultSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCollectionPersisters, getEntityPersisters, getFactory
discoverTypes, doReactiveQueryAndInitializeNonLazyCollections, executeReactiveQueryStatement, limitHandler, reactiveProcessResultSet, toParameterArray
public ReactiveDynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
public ReactiveDynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
protected boolean isSingleRowLoader()
public boolean isSubselectLoadingEnabled()
isSubselectLoadingEnabled
in interface ReactiveLoaderBasedLoader
isSubselectLoadingEnabled
in class ReactiveAbstractEntityLoader
public CompletionStage<List<Object>> doEntityBatchFetch(SessionImplementor session, QueryParameters queryParameters, Serializable[] ids)
static String expandBatchIdPlaceholder(String sql, Serializable[] ids, String alias, String[] keyColumnNames, Dialect dialect)