java.lang.Object
io.ebeaninternal.api.LoadRequest
io.ebeaninternal.api.LoadBeanRequest
Request for loading ManyToOne and OneToOne relationships.
-
Field Summary
Fields inherited from class io.ebeaninternal.api.LoadRequest
lazy, parentRequest, transaction -
Constructor Summary
ConstructorsConstructorDescriptionLoadBeanRequest(LoadBeanBuffer loadBuffer, EntityBeanIntercept ebi, boolean loadCache) Construct for lazy load request.LoadBeanRequest(LoadBeanBuffer loadBuffer, OrmQueryRequest<?> parentRequest) Construct for secondary query. -
Method Summary
Modifier and TypeMethodDescriptionClass<?> beanType()Return the associated bean type for this load request.booleanReturn true if the batch is empty.SpiQuery<?> createQuery(SpiEbeanServer server) voidLoad the beans into the L2 cache if that is requested and check for load failures due to deletes.Methods inherited from class io.ebeaninternal.api.LoadRequest
isLazy, isParentFindIterate, transaction
-
Constructor Details
-
LoadBeanRequest
Construct for lazy load request. -
LoadBeanRequest
Construct for secondary query.
-
-
Method Details
-
beanType
Description copied from class:LoadRequestReturn the associated bean type for this load request.- Specified by:
beanTypein classLoadRequest
-
description
-
checkEmpty
public boolean checkEmpty()Return true if the batch is empty. -
createQuery
-
postLoad
Load the beans into the L2 cache if that is requested and check for load failures due to deletes.
-