public final class JDBCLockEngine extends Object
| 构造器和说明 |
|---|
JDBCLockEngine(String schemaName,
org.apache.shardingsphere.mode.metadata.MetaDataContexts metaDataContexts,
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor jdbcExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> List<T> |
execute(org.apache.shardingsphere.infra.executor.kernel.model.ExecutionGroupContext<org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutionUnit> executionGroupContext,
org.apache.shardingsphere.infra.binder.statement.SQLStatementContext<?> sqlStatementContext,
Collection<org.apache.shardingsphere.infra.route.context.RouteUnit> routeUnits,
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback<T> callback)
Execute.
|
public JDBCLockEngine(String schemaName, org.apache.shardingsphere.mode.metadata.MetaDataContexts metaDataContexts, org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor jdbcExecutor)
public <T> List<T> execute(org.apache.shardingsphere.infra.executor.kernel.model.ExecutionGroupContext<org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutionUnit> executionGroupContext, org.apache.shardingsphere.infra.binder.statement.SQLStatementContext<?> sqlStatementContext, Collection<org.apache.shardingsphere.infra.route.context.RouteUnit> routeUnits, org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback<T> callback) throws SQLException
T - the type of return valueexecutionGroupContext - execution group contextsqlStatementContext - sql statement contextrouteUnits - route unitscallback - callbackSQLException - SQL exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.