public class DLoadManyContext extends DLoadBaseContext implements LoadManyContext
| Modifier and Type | Class and Description |
|---|---|
static class |
DLoadManyContext.LoadBuffer
A buffer for batch loading bean collections on a given path.
|
| Modifier and Type | Field and Description |
|---|---|
protected BeanPropertyAssocMany<?> |
property |
desc, firstBatchSize, fullPath, hitCache, objectGraphNode, parent, path, queryFetch, queryProps, secondaryBatchSize, serverName| Constructor and Description |
|---|
DLoadManyContext(DLoadContext parent,
BeanPropertyAssocMany<?> property,
String path,
int defaultBatchSize,
OrmQueryProperties queryProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureQuery(SpiQuery<?> query) |
BeanDescriptor<?> |
getBeanDescriptor() |
BeanPropertyAssocMany<?> |
getBeanProperty() |
String |
getName() |
void |
loadSecondaryQuery(OrmQueryRequest<?> parentRequest,
int requestedBatchSize,
boolean all)
Execute the secondary query with a given batch size.
|
void |
register(BeanCollection<?> bc) |
getPersistenceContextprotected final BeanPropertyAssocMany<?> property
public DLoadManyContext(DLoadContext parent, BeanPropertyAssocMany<?> property, String path, int defaultBatchSize, OrmQueryProperties queryProps)
public void configureQuery(SpiQuery<?> query)
public BeanPropertyAssocMany<?> getBeanProperty()
public BeanDescriptor<?> getBeanDescriptor()
public String getName()
public void register(BeanCollection<?> bc)
public void loadSecondaryQuery(OrmQueryRequest<?> parentRequest, int requestedBatchSize, boolean all)
LoadSecondaryQueryloadSecondaryQuery in interface LoadSecondaryQueryparentRequest - the originating query requestCopyright © 2014. All Rights Reserved.