类 DynamicBatchingEntityLoaderBuilder
- java.lang.Object
-
- org.hibernate.loader.entity.BatchingEntityLoaderBuilder
-
- org.hibernate.loader.entity.DynamicBatchingEntityLoaderBuilder
-
public class DynamicBatchingEntityLoaderBuilder extends BatchingEntityLoaderBuilder
A BatchingEntityLoaderBuilder that builds UniqueEntityLoader instances capable of dynamically building its batch-fetch SQL based on the actual number of entity ids waiting to be fetched.- 作者:
- Steve Ebersole
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classDynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader
-
字段概要
字段 修饰符和类型 字段 说明 static DynamicBatchingEntityLoaderBuilderINSTANCE
-
构造器概要
构造器 构造器 说明 DynamicBatchingEntityLoaderBuilder()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected UniqueEntityLoaderbuildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected UniqueEntityLoaderbuildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)static QueryParametersbuildMultiLoadQueryParameters(OuterJoinLoadable persister, Serializable[] ids, LockOptions lockOptions)ListmultiLoad(OuterJoinLoadable persister, Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)protected ListperformUnorderedMultiLoad(OuterJoinLoadable persister, Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)-
从类继承的方法 org.hibernate.loader.entity.BatchingEntityLoaderBuilder
buildLoader, buildLoader, buildNonBatchingLoader, buildNonBatchingLoader, getBuilder
-
-
-
-
字段详细资料
-
INSTANCE
public static final DynamicBatchingEntityLoaderBuilder INSTANCE
-
-
方法详细资料
-
multiLoad
public List multiLoad(OuterJoinLoadable persister, Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)
-
performUnorderedMultiLoad
protected List performUnorderedMultiLoad(OuterJoinLoadable persister, Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)
-
buildMultiLoadQueryParameters
public static QueryParameters buildMultiLoadQueryParameters(OuterJoinLoadable persister, Serializable[] ids, LockOptions lockOptions)
-
buildBatchingLoader
protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
-
buildBatchingLoader
protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
-
-