public class ExecutorFactory
extends java.lang.Object
| Constructor and Description |
|---|
ExecutorFactory(Config cfg,
int wId,
TWSChannel ch) |
| Modifier and Type | Method and Description |
|---|---|
IExecutor |
getExecutor(Config planConfig,
ExecutionPlan executionPlan,
OperationMode mode)
Get the executor
|
IExecutor |
getExecutor(Config planConfig,
ExecutionPlan executionPlan,
OperationMode mode,
IExecutionHook hook)
Get the executor
|
public ExecutorFactory(Config cfg, int wId, TWSChannel ch)
public IExecutor getExecutor(Config planConfig, ExecutionPlan executionPlan, OperationMode mode)
planConfig - the plan specific configurationsexecutionPlan - the executmode - the operation modepublic IExecutor getExecutor(Config planConfig, ExecutionPlan executionPlan, OperationMode mode, IExecutionHook hook)
planConfig - the plan specific configurationsexecutionPlan - the executmode - the operation mode