Class AbstractCollectionBatchLoader
java.lang.Object
org.hibernate.loader.ast.internal.AbstractCollectionBatchLoader
- All Implemented Interfaces:
BatchLoader,CollectionBatchLoader,CollectionLoader,Loader,MultiKeyLoader
- Direct Known Subclasses:
CollectionBatchLoaderArrayParam,CollectionBatchLoaderInPredicate
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractCollectionBatchLoader(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinishInitializingKey(Object key, SharedSessionContractImplementor session) intThe total number of loadable references that can be initialized per each load operation.intprotected Class<?> getKeyType(ValuedModelPart keyPart) The value-mapping loaded by this loaderload(Object key, SharedSessionContractImplementor session) Load a collection by its key (not necessarily the same as its owner's PK).
-
Constructor Details
-
AbstractCollectionBatchLoader
public AbstractCollectionBatchLoader(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getDomainBatchSize
public int getDomainBatchSize()Description copied from interface:BatchLoaderThe total number of loadable references that can be initialized per each load operation.- Specified by:
getDomainBatchSizein interfaceBatchLoader
-
getLoadable
Description copied from interface:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceCollectionLoader- Specified by:
getLoadablein interfaceLoader
-
getInfluencers
-
getSessionFactory
-
getKeyJdbcCount
public int getKeyJdbcCount() -
getKeyType
-