Module io.ebean.api

Interface SlowQueryEvent


public interface SlowQueryEvent
The data for the slow query.
  • Method Details

    • getSql

      String getSql()
      Return the SQL for the slow query.
    • getTimeMillis

      long getTimeMillis()
      Return the execution time in millis.
    • getRowCount

      int getRowCount()
      Return the total row count associated with the query.
    • getOriginNode

      ObjectGraphNode getOriginNode()
      Return the origin point for the root query.

      Typically the originNode.getOriginQueryPoint().getFirstStackElement() provides the stack line that shows the code that invoked the query.

    • getBindParams

      List<Object> getBindParams()
      Return the bind parameters.
    • getLabel

      String getLabel()
      Return the label.
    • getProfileLocation

      ProfileLocation getProfileLocation()
      Return the profile location.