Package org.hibernate.loader.entity.plan
Class DynamicBatchingEntityLoaderBuilder
- java.lang.Object
-
- org.hibernate.loader.entity.BatchingEntityLoaderBuilder
-
- org.hibernate.loader.entity.plan.AbstractBatchingEntityLoaderBuilder
-
- org.hibernate.loader.entity.plan.DynamicBatchingEntityLoaderBuilder
-
public class DynamicBatchingEntityLoaderBuilder extends AbstractBatchingEntityLoaderBuilder
A walking/plan based BatchingEntityLoaderBuilder that builds entity-loader instances capable of dynamically building its batch-fetch SQL based on the actual number of entity ids waiting to be batch fetched.
-
-
Field Summary
Fields Modifier and Type Field Description static DynamicBatchingEntityLoaderBuilder
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description DynamicBatchingEntityLoaderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.hibernate.loader.entity.plan.AbstractBatchingEntityLoaderBuilder
buildNonBatchingLoader, buildNonBatchingLoader
-
Methods inherited from class org.hibernate.loader.entity.BatchingEntityLoaderBuilder
buildLoader, buildLoader, getBuilder
-
-
-
-
Field Detail
-
INSTANCE
public static final DynamicBatchingEntityLoaderBuilder INSTANCE
Singleton access
-
-
Method Detail
-
buildBatchingLoader
protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
- Specified by:
buildBatchingLoader
in classBatchingEntityLoaderBuilder
-
buildBatchingLoader
protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
- Specified by:
buildBatchingLoader
in classBatchingEntityLoaderBuilder
-
-