public interface FederationExecutor extends AutoCloseable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
List<QueryResult> |
executeQuery(DriverExecutionPrepareEngine<JDBCExecutionUnit,Connection> prepareEngine,
JDBCExecutorCallback<? extends ExecuteResult> callback,
ExecutionContext executionContext)
Execute query.
|
ResultSet |
getResultSet()
Get result set.
|
List<QueryResult> executeQuery(DriverExecutionPrepareEngine<JDBCExecutionUnit,Connection> prepareEngine, JDBCExecutorCallback<? extends ExecuteResult> callback, ExecutionContext executionContext) throws SQLException
prepareEngine - prepare enginecallback - callbackexecutionContext - execution contextSQLException - SQL exceptionResultSet getResultSet() throws SQLException
SQLException - SQL exceptionvoid close()
throws SQLException
close 在接口中 AutoCloseableSQLExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.