Class CollectionBatchLoaderInPredicate
- java.lang.Object
-
- org.hibernate.loader.ast.internal.AbstractCollectionBatchLoader
-
- org.hibernate.loader.ast.internal.CollectionBatchLoaderInPredicate
-
- All Implemented Interfaces:
BatchLoader
,CollectionBatchLoader
,CollectionLoader
,Loader
,MultiKeyLoader
,SqlArrayMultiKeyLoader
public class CollectionBatchLoaderInPredicate extends AbstractCollectionBatchLoader implements CollectionBatchLoader, SqlArrayMultiKeyLoader
CollectionLoader for batch fetching using a SQL IN predicate
-
-
Constructor Summary
Constructors Constructor Description CollectionBatchLoaderInPredicate(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentCollection<?>
load(Object key, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).-
Methods inherited from class org.hibernate.loader.ast.internal.AbstractCollectionBatchLoader
finishInitializingKey, getDomainBatchSize, getInfluencers, getKeyJdbcCount, getLoadable, getSessionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.loader.ast.spi.BatchLoader
getDomainBatchSize
-
Methods inherited from interface org.hibernate.loader.ast.spi.CollectionLoader
getLoadable
-
-
-
-
Constructor Detail
-
CollectionBatchLoaderInPredicate
public CollectionBatchLoaderInPredicate(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
load
public PersistentCollection<?> load(Object key, SharedSessionContractImplementor session)
Description copied from interface:CollectionLoader
Load a collection by its key (not necessarily the same as its owner's PK).- Specified by:
load
in interfaceCollectionLoader
-
-