public abstract class BatchOutputCollector extends Object
| Constructor and Description |
|---|
BatchOutputCollector() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
emit(List<Object> tuple)
Emits a tuple to the default output stream.
|
abstract List<Integer> |
emit(String streamId,
List<Object> tuple) |
void |
emitDirect(int taskId,
List<Object> tuple)
Emits a tuple to the specified task on the default output stream.
|
abstract void |
emitDirect(int taskId,
String streamId,
List<Object> tuple) |
abstract void |
reportError(Throwable error) |
public void emitDirect(int taskId,
List<Object> tuple)
public abstract void reportError(Throwable error)
Copyright © 2015. All rights reserved.