Module org.jooq
Package org.jooq

Interface Explain


public interface Explain
Results of an DSLContext.explain(Query) call.
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    The cost the database associated with the execution of the query.
    The formatted plan as returned by the database.
    double
    The number of rows (cardinality) that is estimated to be returned by the query.
  • Method Details

    • rows

      double rows()
      The number of rows (cardinality) that is estimated to be returned by the query.

      This returns Double.NaN if rows could not be estimated.

    • cost

      double cost()
      The cost the database associated with the execution of the query.

      This returns Double.NaN if cost could not be retrieved.

    • plan

      String plan()
      The formatted plan as returned by the database.