| 程序包 | 说明 |
|---|---|
| io.shardingsphere.core.executor | |
| io.shardingsphere.core.executor.sql.prepare | |
| io.shardingsphere.core.routing | |
| io.shardingsphere.core.util | |
| io.shardingsphere.spi.executor |
| 构造器和说明 |
|---|
StatementExecuteUnit(RouteUnit routeUnit,
Statement statement,
ConnectionMode connectionMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
StatementExecuteUnit |
SQLExecutePrepareCallback.createStatementExecuteUnit(Connection connection,
RouteUnit routeUnit,
ConnectionMode connectionMode)
Create SQL execute unit.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<ShardingExecuteGroup<StatementExecuteUnit>> |
SQLExecutePrepareTemplate.getExecuteUnitGroups(Collection<RouteUnit> routeUnits,
SQLExecutePrepareCallback callback)
Get execute unit groups.
|
| 构造器和说明 |
|---|
BatchRouteUnit(RouteUnit routeUnit) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
SQLLogger.logSQL(String logicSQL,
SQLStatement sqlStatement,
Collection<RouteUnit> routeUnits)
Print SQL log for sharding rule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SQLExecutionHook.start(RouteUnit routeUnit,
DataSourceMetaData dataSourceMetaData,
boolean isTrunkThread,
Map<String,Object> shardingExecuteDataMap)
Handle when SQL execution started.
|
void |
SPISQLExecutionHook.start(RouteUnit routeUnit,
DataSourceMetaData dataSourceMetaData,
boolean isTrunkThread,
Map<String,Object> shardingExecuteDataMap) |
Copyright © 2019. All rights reserved.