public class StatementInformation extends java.lang.Object implements Loggable
Constructor and Description |
---|
StatementInformation(ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
ConnectionInformation |
getConnectionInformation() |
java.lang.String |
getSql() |
java.lang.String |
getSqlWithValues() |
java.sql.Statement |
getStatement() |
java.lang.String |
getStatementQuery() |
long |
getTotalTimeElapsed() |
void |
incrementTimeElapsed(long timeElapsedNanos) |
void |
setStatement(java.sql.Statement statement) |
void |
setStatementQuery(java.lang.String statementQuery) |
public StatementInformation(ConnectionInformation connectionInformation)
public java.sql.Statement getStatement()
public void setStatement(java.sql.Statement statement)
public java.lang.String getStatementQuery()
public void setStatementQuery(java.lang.String statementQuery)
public ConnectionInformation getConnectionInformation()
getConnectionInformation
in interface Loggable
public java.lang.String getSqlWithValues()
getSqlWithValues
in interface Loggable
SQL
having '?' replaced with real values used.public java.lang.String getSql()
public long getTotalTimeElapsed()
public void incrementTimeElapsed(long timeElapsedNanos)