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