T - class type of return valuepublic abstract class DefaultSQLExecutorCallback<T> extends Object implements SQLExecutorCallback<T>
| 构造器和说明 |
|---|
DefaultSQLExecutorCallback() |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<T> |
execute(Collection<StatementExecuteUnit> statementExecuteUnits,
boolean isTrunkThread,
Map<String,Object> dataMap)
Execute.
|
protected abstract T |
executeSQL(String sql,
Statement statement,
ConnectionMode connectionMode) |
public final Collection<T> execute(Collection<StatementExecuteUnit> statementExecuteUnits, boolean isTrunkThread, Map<String,Object> dataMap) throws SQLException
ExecutorCallbackexecute 在接口中 ExecutorCallback<StatementExecuteUnit,T>statementExecuteUnits - input valuesisTrunkThread - is execution in trunk threaddataMap - data mapSQLException - throw when execute failureprotected abstract T executeSQL(String sql, Statement statement, ConnectionMode connectionMode) throws SQLException
SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.