Class VertxExecutorCallback
java.lang.Object
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.vertx.VertxExecutorCallback
- All Implemented Interfaces:
ExecutorCallback<VertxExecutionUnit,io.vertx.core.Future<ExecuteResult>>
public final class VertxExecutorCallback
extends Object
implements ExecutorCallback<VertxExecutionUnit,io.vertx.core.Future<ExecuteResult>>
Vert.x executor callback.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<io.vertx.core.Future<ExecuteResult>>execute(Collection<VertxExecutionUnit> inputs, boolean isTrunkThread, Map<String, Object> dataMap) Execute.
-
Constructor Details
-
VertxExecutorCallback
public VertxExecutorCallback()
-
-
Method Details
-
execute
public Collection<io.vertx.core.Future<ExecuteResult>> execute(Collection<VertxExecutionUnit> inputs, boolean isTrunkThread, Map<String, Object> dataMap) throws SQLExceptionDescription copied from interface:ExecutorCallbackExecute.- Specified by:
executein interfaceExecutorCallback<VertxExecutionUnit,io.vertx.core.Future<ExecuteResult>> - Parameters:
inputs- input valuesisTrunkThread- is execution in trunk threaddataMap- data map- Returns:
- execution results
- Throws:
SQLException- throw when execute failure
-