public final class StatementManager extends Object implements org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.ExecutorJDBCStatementManager, AutoCloseable
| Constructor and Description |
|---|
StatementManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Statement |
createStorageResource(Connection connection,
org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode connectionMode,
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption option) |
Statement |
createStorageResource(org.apache.shardingsphere.infra.executor.sql.context.ExecutionUnit executionUnit,
Connection connection,
org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode connectionMode,
org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption option) |
public Statement createStorageResource(Connection connection, org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode connectionMode, org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption option) throws SQLException
createStorageResource in interface org.apache.shardingsphere.infra.executor.sql.prepare.driver.ExecutorStatementManager<Connection,Statement,org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption>SQLExceptionpublic Statement createStorageResource(org.apache.shardingsphere.infra.executor.sql.context.ExecutionUnit executionUnit, Connection connection, org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode connectionMode, org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption option) throws SQLException
createStorageResource in interface org.apache.shardingsphere.infra.executor.sql.prepare.driver.ExecutorStatementManager<Connection,Statement,org.apache.shardingsphere.infra.executor.sql.prepare.driver.jdbc.StatementOption>SQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableSQLExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.