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,MultiIdEntityLoaderStandard
public abstract class AbstractMultiIdEntityLoader<T>
extends Object
implements MultiIdEntityLoader<T>
Base support for
MultiIdEntityLoader implementations.- Author:
- Steve Ebersole
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMultiIdEntityLoader(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityMappingTypeThe value-mapping loaded by this loaderprotected SessionFactoryImplementorload(K[] ids, MultiIdLoadOptions loadOptions, EventSource session) Load multiple entities by id.performOrderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session) performUnorderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session)
-
Constructor Details
-
AbstractMultiIdEntityLoader
public AbstractMultiIdEntityLoader(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getEntityDescriptor
-
getSessionFactory
-
getIdentifierMapping
-
getLoadable
Description copied from interface:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceEntityLoader- Specified by:
getLoadablein interfaceLoader
-
load
Description copied from interface:MultiIdEntityLoaderLoad multiple entities by id. The exact result depends on the passed options.- Specified by:
loadin interfaceMultiIdEntityLoader<T>
-
performOrderedMultiLoad
protected abstract <K> List<T> performOrderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session) -
performUnorderedMultiLoad
protected abstract <K> List<T> performUnorderedMultiLoad(K[] ids, MultiIdLoadOptions loadOptions, EventSource session)
-