| 程序包 | 说明 |
|---|---|
| io.shardingsphere.core.constant | |
| io.shardingsphere.core.executor | |
| io.shardingsphere.core.executor.sql.prepare |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConnectionMode |
ConnectionMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConnectionMode[] |
ConnectionMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
StatementExecuteUnit(RouteUnit routeUnit,
Statement statement,
ConnectionMode connectionMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
StatementExecuteUnit |
SQLExecutePrepareCallback.createStatementExecuteUnit(Connection connection,
RouteUnit routeUnit,
ConnectionMode connectionMode)
Create SQL execute unit.
|
List<Connection> |
SQLExecutePrepareCallback.getConnections(ConnectionMode connectionMode,
String dataSourceName,
int connectionSize)
Get connection.
|
Copyright © 2018. All rights reserved.