public interface SlowQueryEvent
The data for the slow query.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the bind parameters.getLabel()
Return the label.Return the origin point for the root query.Return the profile location.int
Return the total row count associated with the query.getSql()
Return the SQL for the slow query.long
Return the execution time in millis.
-
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
Return the bind parameters. -
getLabel
String getLabel()Return the label. -
getProfileLocation
ProfileLocation getProfileLocation()Return the profile location.
-