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 |
flush()
Flush any buffered tuples (when batching is enabled).
|
abstract void |
reportError(Throwable error) |
public void emitDirect(int taskId, List<Object> tuple)
public abstract void flush()
public abstract void reportError(Throwable error)
Copyright © 2023 The Apache Software Foundation. All rights reserved.