Interface ExecutorCallback<I,O>

Type Parameters:
I - type of input value
O - type of output value
All Known Implementing Classes:
JDBCExecutorCallback, RawSQLExecutorCallback, VertxExecutorCallback

public interface ExecutorCallback<I,O>
Grouped callback.
  • Method Details

    • execute

      Collection<O> execute(Collection<I> inputs, boolean isTrunkThread, Map<String,Object> dataMap) throws SQLException
      Execute.
      Parameters:
      inputs - input values
      isTrunkThread - is execution in trunk thread
      dataMap - data map
      Returns:
      execution results
      Throws:
      SQLException - throw when execute failure