public final class ExecutorEngine extends Object implements AutoCloseable
Constructor and Description |
---|
ExecutorEngine(int executorSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> List<T> |
execute(SQLType sqlType,
Collection<? extends BaseStatementUnit> baseStatementUnits,
ExecuteCallback<T> executeCallback)
Execute.
|
public <T> List<T> execute(SQLType sqlType, Collection<? extends BaseStatementUnit> baseStatementUnits, ExecuteCallback<T> executeCallback) throws SQLException
T
- class type of return valuesqlType
- SQL typebaseStatementUnits
- statement execute unitSexecuteCallback
- prepared statement execute callbackSQLException
- SQL exceptionpublic void close()
close
in interface AutoCloseable
Copyright © 2018. All rights reserved.