public abstract class ExecuteQueryCallback
extends org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback<org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult>
| 限定符 | 构造器和说明 |
|---|---|
protected |
ExecuteQueryCallback(org.apache.shardingsphere.infra.database.type.DatabaseType databaseType,
org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement,
boolean isExceptionThrown) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract ResultSet |
executeQuery(String sql,
Statement statement) |
protected org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult |
executeSQL(String sql,
Statement statement,
org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode connectionMode) |
protected Optional<org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult> |
getSaneResult(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement) |
protected ExecuteQueryCallback(org.apache.shardingsphere.infra.database.type.DatabaseType databaseType,
org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement,
boolean isExceptionThrown)
protected final org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult executeSQL(String sql, Statement statement, org.apache.shardingsphere.infra.executor.sql.execute.engine.ConnectionMode connectionMode) throws SQLException
executeSQL 在类中 org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback<org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult>SQLExceptionprotected final Optional<org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult> getSaneResult(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement)
getSaneResult 在类中 org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback<org.apache.shardingsphere.infra.executor.sql.execute.result.query.QueryResult>protected abstract ResultSet executeQuery(String sql, Statement statement) throws SQLException
SQLExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.