Class SlowQueryEvent

    • Constructor Detail

    • Method Detail

      • getSql

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

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

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

        public 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.