Class AbstractMultiIdEntityLoader<T>
java.lang.Object
org.hibernate.loader.ast.internal.AbstractMultiIdEntityLoader<T>
- All Implemented Interfaces:
EntityLoader
,EntityMultiLoader<T>
,Loader
,MultiIdEntityLoader<T>
,MultiKeyLoader
- Direct Known Subclasses:
MultiIdEntityLoaderArrayParam
,MultiIdEntityLoaderInPredicate
public abstract class AbstractMultiIdEntityLoader<T>
extends Object
implements MultiIdEntityLoader<T>
Base support for
MultiIdEntityLoader
implementations.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMultiIdEntityLoader
(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityMappingType
protected JdbcSelectExecutor
protected JdbcServices
The value-mapping loaded by this loaderprotected SessionFactoryImplementor
protected SqlAstTranslatorFactory
load
(K[] ids, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) Load multiple entities by id.protected abstract void
loadEntitiesById
(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) protected abstract void
loadEntitiesWithUnresolvedIds
(Object[] unresolvableIds, MultiIdLoadOptions loadOptions, LockOptions lockOptions, List<T> results, SharedSessionContractImplementor session) protected abstract int
maxBatchSize
(Object[] ids, MultiIdLoadOptions loadOptions) protected abstract Object[]
unorderedMultiLoad
(Object[] ids, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session)
-
Field Details
-
identifierMapping
-
-
Constructor Details
-
AbstractMultiIdEntityLoader
public AbstractMultiIdEntityLoader(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getEntityDescriptor
-
getSessionFactory
-
getIdentifierMapping
-
getJdbcServices
-
getSqlAstTranslatorFactory
-
getJdbcSelectExecutor
-
getLoadable
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceEntityLoader
- Specified by:
getLoadable
in interfaceLoader
-
maxBatchSize
-
toIdArray
-