Class MultiIdEntityLoaderArrayParam<E>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader<E>
-
- org.hibernate.loader.ast.internal.MultiIdEntityLoaderArrayParam<E>
-
- All Implemented Interfaces:
Preparable
,EntityLoader
,EntityMultiLoader<E>
,Loader
,MultiIdEntityLoader<E>
,MultiKeyLoader
,SqlArrayMultiKeyLoader
public class MultiIdEntityLoaderArrayParam<E> extends AbstractMultiIdEntityLoader<E> implements SqlArrayMultiKeyLoader, Preparable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MultiIdEntityLoaderArrayParam.ResolutionConsumer<T>
-
Constructor Summary
Constructors Constructor Description MultiIdEntityLoaderArrayParam(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicEntityIdentifierMapping
getIdentifierMapping()
protected <K> List<E>
performOrderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session)
protected <K> List<E>
performUnorderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session)
void
prepare()
Perform the preparationprotected <R,K>
K[]processResolvableEntities(K[] ids, MultiIdEntityLoaderArrayParam.ResolutionConsumer<R> resolutionConsumer, @NonNull MultiIdLoadOptions loadOptions, @NonNull LockOptions lockOptions, EventSource session)
-
Methods inherited from class org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader
getEntityDescriptor, getLoadable, getSessionFactory, load
-
-
-
-
Constructor Detail
-
MultiIdEntityLoaderArrayParam
public MultiIdEntityLoaderArrayParam(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getIdentifierMapping
public BasicEntityIdentifierMapping getIdentifierMapping()
- Overrides:
getIdentifierMapping
in classAbstractMultiIdEntityLoader<E>
-
performOrderedMultiLoad
protected <K> List<E> performOrderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session)
- Specified by:
performOrderedMultiLoad
in classAbstractMultiIdEntityLoader<E>
-
performUnorderedMultiLoad
protected <K> List<E> performUnorderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session)
- Specified by:
performUnorderedMultiLoad
in classAbstractMultiIdEntityLoader<E>
-
processResolvableEntities
protected final <R,K> K[] processResolvableEntities(K[] ids, MultiIdEntityLoaderArrayParam.ResolutionConsumer<R> resolutionConsumer, @NonNull MultiIdLoadOptions loadOptions, @NonNull LockOptions lockOptions, EventSource session)
-
prepare
public void prepare()
Description copied from interface:Preparable
Perform the preparation- Specified by:
prepare
in interfacePreparable
- Overrides:
prepare
in classAbstractMultiIdEntityLoader<E>
-
-