public class ReactiveBatchingEntityLoaderBuilder extends Object
getBuilder(SessionFactoryImplementor)
method selects between ReactivePaddedBatchingEntityLoaderBuilder
and ReactiveDynamicBatchingEntityLoaderBuilder
depending upon the org.hibernate.loader.BatchFetchStyle
selected.org.hibernate.loader.entity.BatchingEntityLoaderBuilder
Constructor and Description |
---|
ReactiveBatchingEntityLoaderBuilder() |
Modifier and Type | Method and Description |
---|---|
protected UniqueEntityLoader | buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) |
protected UniqueEntityLoader | buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) |
UniqueEntityLoader | buildLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) Builds a batch-fetch capable loader based on the given persister, lock-mode, etc. |
UniqueEntityLoader | buildLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) Builds a batch-fetch capable loader based on the given persister, lock-options, etc. |
protected UniqueEntityLoader | buildNonBatchingLoader(OuterJoinLoadable persister, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) |
protected UniqueEntityLoader | buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) |
static ReactiveBatchingEntityLoaderBuilder | getBuilder(SessionFactoryImplementor factory) |
public static ReactiveBatchingEntityLoaderBuilder getBuilder(SessionFactoryImplementor factory)
public UniqueEntityLoader buildLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
persister
- The entity persisterbatchSize
- The maximum number of ids to batch-fetch at oncelockMode
- The lock modefactory
- The SessionFactoryinfluencers
- Any influencers that should affect the built queryprotected UniqueEntityLoader buildNonBatchingLoader(OuterJoinLoadable persister, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
public UniqueEntityLoader buildLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
persister
- The entity persisterbatchSize
- The maximum number of ids to batch-fetch at oncelockOptions
- The lock optionsfactory
- The SessionFactoryinfluencers
- Any influencers that should affect the built queryprotected UniqueEntityLoader buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)