Class MultiIdEntityLoaderStandard<T>
java.lang.Object
org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader<T>
org.hibernate.loader.ast.internal.MultiIdEntityLoaderStandard<T>
- All Implemented Interfaces:
EntityLoader
,EntityMultiLoader<T>
,Loader
,MultiIdEntityLoader<T>
,MultiKeyLoader
Standard MultiIdEntityLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
AbstractMultiIdEntityLoader.ResolutionConsumer<T>
-
Field Summary
Fields inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
idArray
-
Constructor Summary
ConstructorsConstructorDescriptionMultiIdEntityLoaderStandard
(EntityPersister entityDescriptor, int idColumnSpan, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleResults
(MultiIdLoadOptions loadOptions, EventSource session, List<Integer> elementPositionsLoadedByBatch, List<Object> result) protected void
loadEntitiesById
(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, EventSource session) protected void
loadEntitiesWithUnresolvedIds
(MultiIdLoadOptions loadOptions, LockOptions lockOptions, EventSource session, Object[] unresolvableIds, List<T> result) protected int
maxBatchSize
(Object[] ids, MultiIdLoadOptions loadOptions) Methods inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
getEntityDescriptor, getIdentifierMapping, getJdbcSelectExecutor, getJdbcServices, getLoadable, getSessionFactory, getSqlAstTranslatorFactory, load, loadFromEnabledCaches, lockOptions, performOrderedMultiLoad, resolveInCaches, resolveInCachesIfEnabled, unorderedMultiLoad
-
Constructor Details
-
MultiIdEntityLoaderStandard
public MultiIdEntityLoaderStandard(EntityPersister entityDescriptor, int idColumnSpan, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
handleResults
protected void handleResults(MultiIdLoadOptions loadOptions, EventSource session, List<Integer> elementPositionsLoadedByBatch, List<Object> result) - Specified by:
handleResults
in classAbstractMultiIdEntityLoader<T>
-
maxBatchSize
- Specified by:
maxBatchSize
in classAbstractMultiIdEntityLoader<T>
-
loadEntitiesById
protected void loadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, EventSource session) - Specified by:
loadEntitiesById
in classAbstractMultiIdEntityLoader<T>
-
loadEntitiesWithUnresolvedIds
protected void loadEntitiesWithUnresolvedIds(MultiIdLoadOptions loadOptions, LockOptions lockOptions, EventSource session, Object[] unresolvableIds, List<T> result) - Specified by:
loadEntitiesWithUnresolvedIds
in classAbstractMultiIdEntityLoader<T>
-