public class ExecutionInfo extends Object
| Constructor and Description |
|---|
ExecutionInfo() |
ExecutionInfo(String dataSourceName,
Statement statement,
boolean isBatch,
int batchSize,
Method method,
Object[] methodArgs) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
String |
getDataSourceName() |
long |
getElapsedTime()
Duration of query execution.
|
Method |
getMethod() |
Object[] |
getMethodArgs() |
Object |
getResult()
Contains query execution result.
|
Statement |
getStatement()
|
StatementType |
getStatementType() |
Throwable |
getThrowable() |
boolean |
isBatch() |
boolean |
isSuccess()
Indicate whether the query execution was successful or not.
|
void |
setBatch(boolean isBatch) |
void |
setBatchSize(int batchSize) |
void |
setDataSourceName(String dataSourceName) |
void |
setElapsedTime(long elapsedTime) |
void |
setMethod(Method method) |
void |
setMethodArgs(Object[] methodArgs) |
void |
setResult(Object result) |
void |
setStatement(Statement statement) |
void |
setStatementType(StatementType statementType) |
void |
setSuccess(boolean isSuccess) |
void |
setThrowable(Throwable throwable)
Contains an exception thrown while query was executed.
|
public Method getMethod()
public void setMethod(Method method)
public Object[] getMethodArgs()
public void setMethodArgs(Object[] methodArgs)
public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
public Object getResult()
public void setResult(Object result)
public long getElapsedTime()
public void setElapsedTime(long elapsedTime)
public Throwable getThrowable()
public void setThrowable(Throwable throwable)
null.throwable - an error thrown while executing a querypublic StatementType getStatementType()
public void setStatementType(StatementType statementType)
public boolean isSuccess()
public void setSuccess(boolean isSuccess)
public boolean isBatch()
public void setBatch(boolean isBatch)
public int getBatchSize()
public void setBatchSize(int batchSize)
public Statement getStatement()
public void setStatement(Statement statement)
Copyright © 2016. All rights reserved.