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
ConstructorDescriptionAbstractCollectionBatchLoader
(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishInitializingKey
(Object key, SharedSessionContractImplementor session) int
The total number of loadable references that can be initialized per each load operation.int
protected 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:BatchLoader
The total number of loadable references that can be initialized per each load operation.- Specified by:
getDomainBatchSize
in interfaceBatchLoader
-
getLoadable
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceCollectionLoader
- Specified by:
getLoadable
in interfaceLoader
-
getInfluencers
-
getSessionFactory
-
getKeyJdbcCount
public int getKeyJdbcCount() -
getKeyType
-