mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
32 lines
822 B
Java
32 lines
822 B
Java
package com.avaje.ebeaninternal.api;
|
|
|
|
import java.util.List;
|
|
|
|
import com.avaje.ebean.bean.BeanCollection;
|
|
import com.avaje.ebean.bean.ObjectGraphNode;
|
|
import com.avaje.ebean.bean.PersistenceContext;
|
|
import com.avaje.ebeaninternal.server.deploy.BeanDescriptor;
|
|
import com.avaje.ebeaninternal.server.deploy.BeanPropertyAssocMany;
|
|
|
|
/**
|
|
* A buffer of bean collections for batch lazy loading and secondary query loading.
|
|
*/
|
|
public interface LoadManyBuffer {
|
|
|
|
public int getBatchSize();
|
|
|
|
public List<BeanCollection<?>> getBatch();
|
|
|
|
public BeanPropertyAssocMany<?> getBeanProperty();
|
|
|
|
public ObjectGraphNode getObjectGraphNode();
|
|
|
|
public BeanDescriptor<?> getBeanDescriptor();
|
|
|
|
public PersistenceContext getPersistenceContext();
|
|
|
|
public String getFullPath();
|
|
|
|
public void configureQuery(SpiQuery<?> query);
|
|
|
|
} |