io.ebean.config.SlowQueryEvent Maven / Gradle / Ivy
package io.ebean.config;
import io.ebean.ProfileLocation;
import io.ebean.bean.ObjectGraphNode;
import java.util.List;
/**
* The data for the slow query.
*/
public interface SlowQueryEvent {
/**
* Return the SQL for the slow query.
*/
String getSql();
/**
* Return the execution time in millis.
*/
long getTimeMillis();
/**
* Return the total row count associated with the query.
*/
int getRowCount();
/**
* 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.
*
*/
ObjectGraphNode getOriginNode();
/**
* Return the bind parameters.
*/
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy