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 EntityMappingTypeprotected JdbcSelectExecutorprotected JdbcServicesThe value-mapping loaded by this loaderprotected SessionFactoryImplementorprotected SqlAstTranslatorFactoryload(K[] ids, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) Load multiple entities by id.protected abstract voidloadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) protected abstract voidloadEntitiesWithUnresolvedIds(Object[] unresolvableIds, MultiIdLoadOptions loadOptions, LockOptions lockOptions, List<T> results, SharedSessionContractImplementor session) protected abstract intmaxBatchSize(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:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceEntityLoader- Specified by:
getLoadablein interfaceLoader
-
maxBatchSize
-
toIdArray
-