public interface SQLExecutePrepareCallback
| Modifier and Type | Method and Description |
|---|---|
StatementExecuteUnit |
createStatementExecuteUnit(Connection connection,
RouteUnit routeUnit,
org.apache.shardingsphere.core.constant.ConnectionMode connectionMode)
Create SQL execute unit.
|
List<Connection> |
getConnections(org.apache.shardingsphere.core.constant.ConnectionMode connectionMode,
String dataSourceName,
int connectionSize)
Get connection.
|
List<Connection> getConnections(org.apache.shardingsphere.core.constant.ConnectionMode connectionMode, String dataSourceName, int connectionSize) throws SQLException
connectionMode - connection modedataSourceName - data source nameconnectionSize - connection sizeSQLException - SQL exceptionStatementExecuteUnit createStatementExecuteUnit(Connection connection, RouteUnit routeUnit, org.apache.shardingsphere.core.constant.ConnectionMode connectionMode) throws SQLException
connection - connectionrouteUnit - route unitconnectionMode - connection modeSQLException - SQL exceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.