T - type of input valuepublic abstract class AbstractExecuteGroupEngine<T> extends Object implements ExecuteGroupEngine<T>
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractExecuteGroupEngine(Collection<ShardingSphereRule> rules) |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<InputGroup<T>> |
generate(org.apache.shardingsphere.infra.route.context.RouteContext routeContext,
Collection<ExecutionUnit> executionUnits)
Generate execution input groups.
|
protected abstract List<InputGroup<T>> |
generateSQLExecuteGroups(String dataSourceName,
List<SQLUnit> sqlUnits) |
protected AbstractExecuteGroupEngine(Collection<ShardingSphereRule> rules)
public final Collection<InputGroup<T>> generate(org.apache.shardingsphere.infra.route.context.RouteContext routeContext, Collection<ExecutionUnit> executionUnits) throws SQLException
ExecuteGroupEnginegenerate 在接口中 ExecuteGroupEngine<T>routeContext - route contextexecutionUnits - execution unitsSQLException - SQL exceptionprotected abstract List<InputGroup<T>> generateSQLExecuteGroups(String dataSourceName, List<SQLUnit> sqlUnits) throws SQLException
SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.