public class StreamingSharingExecutor extends ThreadSharingExecutor
| Modifier and Type | Class and Description |
|---|---|
protected class |
StreamingSharingExecutor.StreamWorker |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
notStopped |
channel, config, executionHook, executionPlan, numThreads, threads| Constructor and Description |
|---|
StreamingSharingExecutor(Config cfg,
int workerId,
TWSChannel channel,
ExecutionPlan plan,
IExecutionHook hook) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
closeExecution()
Wait for the execution to complete
|
boolean |
execute(boolean close)
Execute the specific plan
|
boolean |
isNotStopped() |
boolean |
runExecution()
Specific implementation needs to implement this method
|
IExecution |
runIExecution()
Specific implementation needs to implement this method
|
close, execute, getExecutionPlan, iExecutepublic StreamingSharingExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan plan, IExecutionHook hook)
public boolean runExecution()
ThreadSharingExecutorrunExecution in class ThreadSharingExecutorpublic boolean execute(boolean close)
IExecutorpublic IExecution runIExecution()
ThreadSharingExecutorrunIExecution in class ThreadSharingExecutorpublic boolean closeExecution()
IExecutorpublic boolean isNotStopped()