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>
| Modifier | Constructor and Description |
|---|---|
protected |
ExecuteQueryCallback(org.apache.shardingsphere.infra.database.type.DatabaseType databaseType,
org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement,
boolean isExceptionThrown) |
| Modifier and Type | Method and Description |
|---|---|
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 in class 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 in class 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 © 2022 The Apache Software Foundation. All rights reserved.