jodd.db.profile
Class SqlProfileData

java.lang.Object
  extended byjodd.db.profile.SqlProfileData

public class SqlProfileData
extends java.lang.Object

Holder for profile data. Objects of this class are sent to callback object.

See Also:
SqlUtilProfiler

Constructor Summary
SqlProfileData()
           
 
Method Summary
 long getDuration()
          Returns query duration in ms.
 long getQueryTime()
          Returns milliseconds of the moment just before query was executed.
 java.lang.String getSqlQuery()
          Returns sql query that was executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlProfileData

public SqlProfileData()
Method Detail

getQueryTime

public long getQueryTime()
Returns milliseconds of the moment just before query was executed.

Returns:
query time in ms.

getDuration

public long getDuration()
Returns query duration in ms.

Returns:
query duration in ms.

getSqlQuery

public java.lang.String getSqlQuery()
Returns sql query that was executed.

Returns:
sql query


Jodd v0.24.5 Javadoc