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