public static class DLoadManyContext.LoadBuffer extends Object implements BeanCollectionLoader, LoadManyBuffer
| Constructor and Description |
|---|
DLoadManyContext.LoadBuffer(DLoadManyContext context,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(BeanCollection<?> bc)
Return true if the buffer is full.
|
void |
configureQuery(SpiQuery<?> query) |
List<BeanCollection<?>> |
getBatch() |
BeanDescriptor<?> |
getBeanDescriptor() |
BeanPropertyAssocMany<?> |
getBeanProperty() |
String |
getFullPath() |
String |
getName()
Return the name of the associated EbeanServer.
|
ObjectGraphNode |
getObjectGraphNode() |
PersistenceContext |
getPersistenceContext() |
void |
loadMany(BeanCollection<?> bc,
boolean onlyIds)
Invoke the lazy loading for this bean collection.
|
public DLoadManyContext.LoadBuffer(DLoadManyContext context, int batchSize)
public boolean add(BeanCollection<?> bc)
public List<BeanCollection<?>> getBatch()
getBatch in interface LoadManyBufferpublic BeanPropertyAssocMany<?> getBeanProperty()
getBeanProperty in interface LoadManyBufferpublic ObjectGraphNode getObjectGraphNode()
getObjectGraphNode in interface LoadManyBufferpublic void configureQuery(SpiQuery<?> query)
configureQuery in interface LoadManyBufferpublic String getName()
BeanCollectionLoadergetName in interface BeanCollectionLoaderpublic BeanDescriptor<?> getBeanDescriptor()
getBeanDescriptor in interface LoadManyBufferpublic PersistenceContext getPersistenceContext()
getPersistenceContext in interface LoadManyBufferpublic String getFullPath()
getFullPath in interface LoadManyBufferpublic void loadMany(BeanCollection<?> bc, boolean onlyIds)
BeanCollectionLoaderloadMany in interface BeanCollectionLoaderCopyright © 2014. All Rights Reserved.