Class AsyncQueryRunner.QueryCallableStatement<T>

java.lang.Object
org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement<T>
Type Parameters:
T - The type of the result from the call to handle.
All Implemented Interfaces:
Callable<T>
Enclosing class:
AsyncQueryRunner

protected class AsyncQueryRunner.QueryCallableStatement<T> extends Object implements Callable<T>
Class that encapsulates the continuation for query calls.
  • Field Details

  • Constructor Details

    • QueryCallableStatement

      public QueryCallableStatement(Connection conn, boolean closeConn, PreparedStatement ps, ResultSetHandler<T> rsh, String sql, Object... params)
      Creates a new QueryCallableStatement instance.
      Parameters:
      conn - The connection to use for the batch call.
      closeConn - True if the connection should be closed, false otherwise.
      ps - The PreparedStatement to be executed.
      rsh - The handler that converts the results into an object.
      sql - The SQL statement to execute.
      params - An array of query replacement parameters. Each row in this array is one set of batch replacement values.
  • Method Details