public interface LoadManyBuffer
A buffer of bean collections for batch lazy loading and secondary query loading.
-
Method Summary
Modifier and TypeMethodDescriptionintThe batch (max) size;voidconfigureQuery(SpiQuery<?> query) fullPath()get(int i) Get theith element from buffer.booleanremoveFromBuffer(BeanCollection<?> collection) Removes an element from the buffer.intsize()The actual size.
-
Method Details
-
batchSize
int batchSize()The batch (max) size; -
size
int size()The actual size. -
get
Get theith element from buffer. This can be null. -
removeFromBuffer
Removes an element from the buffer. This will NOT affect size. -
beanProperty
BeanPropertyAssocMany<?> beanProperty() -
objectGraphNode
ObjectGraphNode objectGraphNode() -
descriptor
BeanDescriptor<?> descriptor() -
persistenceContext
PersistenceContext persistenceContext() -
fullPath
String fullPath() -
configureQuery
-