mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
25 lines
504 B
Java
25 lines
504 B
Java
package io.ebeaninternal.api;
|
|
|
|
import io.ebean.meta.MetaQueryPlan;
|
|
import io.ebean.meta.QueryPlanRequest;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Manage query plan capture.
|
|
*/
|
|
public interface QueryPlanManager {
|
|
|
|
QueryPlanManager NOOP = new NoopQueryPlanManager();
|
|
|
|
/**
|
|
* Create the bind capture for the given query plan.
|
|
*/
|
|
SpiQueryBindCapture createBindCapture(SpiQueryPlan queryPlan);
|
|
|
|
/**
|
|
* Collect the database query plans.
|
|
*/
|
|
List<MetaQueryPlan> collect(QueryPlanRequest request);
|
|
}
|