public final class ProxyJDBCExecutePrepareCallback extends Object implements org.apache.shardingsphere.core.execute.sql.prepare.SQLExecutePrepareCallback
| Constructor and Description |
|---|
ProxyJDBCExecutePrepareCallback() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shardingsphere.core.execute.StatementExecuteUnit |
createStatementExecuteUnit(Connection connection,
org.apache.shardingsphere.core.route.RouteUnit routeUnit,
org.apache.shardingsphere.core.constant.ConnectionMode connectionMode) |
List<Connection> |
getConnections(org.apache.shardingsphere.core.constant.ConnectionMode connectionMode,
String dataSourceName,
int connectionSize) |
public List<Connection> getConnections(org.apache.shardingsphere.core.constant.ConnectionMode connectionMode, String dataSourceName, int connectionSize) throws SQLException
getConnections in interface org.apache.shardingsphere.core.execute.sql.prepare.SQLExecutePrepareCallbackSQLExceptionpublic org.apache.shardingsphere.core.execute.StatementExecuteUnit createStatementExecuteUnit(Connection connection, org.apache.shardingsphere.core.route.RouteUnit routeUnit, org.apache.shardingsphere.core.constant.ConnectionMode connectionMode) throws SQLException
createStatementExecuteUnit in interface org.apache.shardingsphere.core.execute.sql.prepare.SQLExecutePrepareCallbackSQLExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.