public class StatementInformation extends Object implements Loggable
Constructor and Description |
---|
StatementInformation(ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
int |
getConnectionId() |
ConnectionInformation |
getConnectionInformation() |
String |
getSql() |
String |
getSqlWithValues() |
String |
getStatementQuery() |
long |
getTotalTimeElapsed() |
void |
incrementTimeElapsed(long timeElapsedNanos) |
void |
setStatementQuery(String statementQuery) |
public StatementInformation(ConnectionInformation connectionInformation)
public String getStatementQuery()
public void setStatementQuery(String statementQuery)
public int getConnectionId()
getConnectionId
in interface Loggable
Connection
public ConnectionInformation getConnectionInformation()
public String getSqlWithValues()
getSqlWithValues
in interface Loggable
SQL
having '?' replaced with real values used.public long getTotalTimeElapsed()
public void incrementTimeElapsed(long timeElapsedNanos)
Copyright © 2002-2016 P6Spy. All Rights Reserved.