mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
22 lines
588 B
Java
22 lines
588 B
Java
package com.avaje.ebeaninternal.api;
|
|
|
|
import com.avaje.ebeaninternal.server.core.OrmQueryRequest;
|
|
|
|
/**
|
|
* Defines the method for executing secondary queries.
|
|
* <p>
|
|
* That is +query nodes in a orm query get executed after
|
|
* the initial query as 'secondary' queries.
|
|
* </p>
|
|
*/
|
|
public interface LoadSecondaryQuery {
|
|
|
|
/**
|
|
* Execute the secondary query with a given batch size.
|
|
*
|
|
* @param parentRequest
|
|
* the originating query request
|
|
*/
|
|
public void loadSecondaryQuery(OrmQueryRequest<?> parentRequest, int requestedBatchSize, boolean all);
|
|
}
|