Modifier and Type | Field and Description |
---|---|
static NoopTask |
INSTANCE_EMPTY_RESULT |
static NoopTask |
INSTANCE_ZERO_ROWS |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> |
result()
Get the result of the task execution as a list of
ListenableFuture instances.
|
void |
start()
start the execution
|
void |
upstreamResult(java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> result)
let this class get to know the result of the former ("upstream") task
|
public static final NoopTask INSTANCE_EMPTY_RESULT
public static final NoopTask INSTANCE_ZERO_ROWS
public void start()
Task
public java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> result()
Task
public void upstreamResult(java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> result)
Task
upstreamResult
in interface Task
result
- the result of the "upstream" task.