public class StatementInformation extends Object implements Loggable
| 限定符和类型 | 字段和说明 |
|---|---|
protected Object |
attachment |
protected Statement |
statement |
| 构造器和说明 |
|---|
StatementInformation(ConnectionInformation connectionInformation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getAttachment() |
ConnectionInformation |
getConnectionInformation() |
String |
getSql() |
String |
getSqlWithValues() |
Statement |
getStatement() |
String |
getStatementQuery() |
long |
getTotalTimeElapsed() |
void |
incrementTimeElapsed(long timeElapsedNanos) |
StatementInformation |
setAttachment(Object attachment) |
StatementInformation |
setStatement(Statement statement) |
void |
setStatementQuery(String statementQuery) |
public StatementInformation(ConnectionInformation connectionInformation)
public Object getAttachment()
public StatementInformation setAttachment(Object attachment)
public Statement getStatement()
public StatementInformation setStatement(Statement statement)
public String getStatementQuery()
public void setStatementQuery(String statementQuery)
public ConnectionInformation getConnectionInformation()
getConnectionInformation 在接口中 Loggablepublic String getSqlWithValues()
getSqlWithValues 在接口中 LoggableSQL having '?' replaced with real values used.public long getTotalTimeElapsed()
public void incrementTimeElapsed(long timeElapsedNanos)
Copyright © 2019. All rights reserved.