public static class StatementLogSqlSession.SqlStatementLog extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected long | durationMsthe duration the statement took to execute in Milliseconds | 
| protected String | statementthe statement (sql string) | 
| protected String | statementParameters | 
| protected StatementLogSqlSession.SqlStatementType | statementType | 
| Constructor and Description | 
|---|
| StatementLogSqlSession.SqlStatementLog(StatementLogSqlSession.SqlStatementType type,
                                      Object parameters,
                                      String statement,
                                      long duration) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getDurationMs() | 
| String | getStatement() | 
| String | getStatementParameters() | 
| StatementLogSqlSession.SqlStatementType | getStatementType() | 
protected StatementLogSqlSession.SqlStatementType statementType
protected String statement
protected long durationMs
protected String statementParameters
public StatementLogSqlSession.SqlStatementLog(StatementLogSqlSession.SqlStatementType type, Object parameters, String statement, long duration)
public String getStatement()
public StatementLogSqlSession.SqlStatementType getStatementType()
public long getDurationMs()
public String getStatementParameters()
Copyright © 2018. All rights reserved.