U - type of storage resource execute unitE - type of execution connectionC - type of resource connectionO - type of storage resource optionpublic abstract class ResourceManagedExecuteGroupEngine<U extends ResourceManagedExecuteUnit,E extends ExecutionConnection<C,?,O>,C,O extends StorageResourceOption> extends AbstractExecuteGroupEngine<U>
| 限定符 | 构造器和说明 |
|---|---|
protected |
ResourceManagedExecuteGroupEngine(int maxConnectionsSizePerQuery,
E executionConnection,
O option,
Collection<ShardingSphereRule> rules) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract U |
createStorageResourceExecuteUnit(ExecutionUnit executionUnit,
E executionConnection,
C connection,
ConnectionMode connectionMode,
O option) |
protected List<InputGroup<U>> |
generateSQLExecuteGroups(String dataSourceName,
List<SQLUnit> sqlUnits) |
generateprotected ResourceManagedExecuteGroupEngine(int maxConnectionsSizePerQuery,
E executionConnection,
O option,
Collection<ShardingSphereRule> rules)
protected final List<InputGroup<U>> generateSQLExecuteGroups(String dataSourceName, List<SQLUnit> sqlUnits) throws SQLException
generateSQLExecuteGroups 在类中 AbstractExecuteGroupEngine<U extends ResourceManagedExecuteUnit>SQLExceptionprotected abstract U createStorageResourceExecuteUnit(ExecutionUnit executionUnit, E executionConnection, C connection, ConnectionMode connectionMode, O option) throws SQLException
SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.