public class SqlResultInfo extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected RuntimeException |
_cause |
protected ExecutionTimeInfo |
_executionTimeInfo |
protected BehaviorCommandMeta |
_meta |
protected Object |
_result |
protected SqlLogInfo |
_sqlLogInfo |
| コンストラクタと説明 |
|---|
SqlResultInfo(BehaviorCommandMeta meta,
Object result,
SqlLogInfo sqlLogInfo,
ExecutionTimeInfo millisInfo,
RuntimeException cause) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
RuntimeException |
getCause()
Get the cause of command failure.
|
ExecutionTimeInfo |
getExecutionTimeInfo()
Get the information of execution time info.
|
BehaviorCommandMeta |
getMeta()
Get the meta information of the behavior command.
|
Object |
getResult()
Get the result of SQL execution (mapped to entity if select).
|
SqlLogInfo |
getSqlLogInfo()
Get the information of SQL log info.
|
String |
toString() |
protected final BehaviorCommandMeta _meta
protected final Object _result
protected final SqlLogInfo _sqlLogInfo
protected final ExecutionTimeInfo _executionTimeInfo
protected final RuntimeException _cause
public SqlResultInfo(BehaviorCommandMeta meta, Object result, SqlLogInfo sqlLogInfo, ExecutionTimeInfo millisInfo, RuntimeException cause)
public BehaviorCommandMeta getMeta()
public Object getResult()
public SqlLogInfo getSqlLogInfo()
[SqlLogInfo] o executedSql : The actually-executed SQL, which JDBC can analyze. o bindArgs : The argument values of bind variables. o bindArgTypes : The argument types of bind variables. o displaySql : The SQL string for display, bind variables are embedded.
public ExecutionTimeInfo getExecutionTimeInfo()
[ExecutionTimeInfo] o commandBeforeTimeMillis : The time as millisecond before command invoking (before building SQL clause). o commandAfterTimeMillis : The time as millisecond after command invoking (after mapping to entity). o sqlBeforeTimeMillis : The time as millisecond before SQL execution (after building SQL clause). o sqlAfterTimeMillis : The time as millisecond after SQL execution (before mapping to entity).
public RuntimeException getCause()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.