All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.config.QueryPlanCapture Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.config;

import io.ebean.Database;
import io.ebean.meta.MetaQueryPlan;

import java.util.List;

/**
 * The captured query plans.
 */
public class QueryPlanCapture {

  private final Database database;
  private final List plans;

  public QueryPlanCapture(Database database, List plans) {
    this.database = database;
    this.plans = plans;
  }

  /**
   * Return the database the plans were captured for.
   */
  public Database database() {
    return database;
  }

  /**
   * Return the captured query plans.
   */
  public List plans() {
    return plans;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy