Class MultiIdEntityLoaderArrayParam<E>
java.lang.Object
org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader<E>
org.hibernate.loader.ast.internal.MultiIdEntityLoaderArrayParam<E>
- All Implemented Interfaces:
EntityLoader
,EntityMultiLoader<E>
,Loader
,MultiIdEntityLoader<E>
,MultiKeyLoader
,SqlArrayMultiKeyLoader
public class MultiIdEntityLoaderArrayParam<E>
extends AbstractMultiIdEntityLoader<E>
implements SqlArrayMultiKeyLoader
-
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
ConstructorsConstructorDescriptionMultiIdEntityLoaderArrayParam
(EntityMappingType entityDescriptor, 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<E> result) protected int
maxBatchSize
(Object[] ids, MultiIdLoadOptions loadOptions) Methods inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
getEntityDescriptor, getJdbcSelectExecutor, getJdbcServices, getLoadable, getSessionFactory, getSqlAstTranslatorFactory, load, loadFromEnabledCaches, lockOptions, performOrderedMultiLoad, resolveInCaches, resolveInCachesIfEnabled, unorderedMultiLoad
-
Constructor Details
-
MultiIdEntityLoaderArrayParam
public MultiIdEntityLoaderArrayParam(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getIdentifierMapping
- Overrides:
getIdentifierMapping
in classAbstractMultiIdEntityLoader<E>
-
handleResults
protected void handleResults(MultiIdLoadOptions loadOptions, EventSource session, List<Integer> elementPositionsLoadedByBatch, List<Object> result) - Specified by:
handleResults
in classAbstractMultiIdEntityLoader<E>
-
maxBatchSize
- Specified by:
maxBatchSize
in classAbstractMultiIdEntityLoader<E>
-
loadEntitiesById
protected void loadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, EventSource session) - Specified by:
loadEntitiesById
in classAbstractMultiIdEntityLoader<E>
-
loadEntitiesWithUnresolvedIds
protected void loadEntitiesWithUnresolvedIds(MultiIdLoadOptions loadOptions, LockOptions lockOptions, EventSource session, Object[] unresolvableIds, List<E> result) - Specified by:
loadEntitiesWithUnresolvedIds
in classAbstractMultiIdEntityLoader<E>
-