public class OutputCollectorImpl extends OutputCollector
Constructor and Description |
---|
OutputCollectorImpl(OutputCollector delegate) |
Modifier and Type | Method and Description |
---|---|
void |
ack(Tuple input) |
java.util.List<java.lang.Integer> |
emit(java.lang.String streamId,
java.util.Collection<Tuple> anchors,
java.util.List<java.lang.Object> tuple)
Returns the task ids that received the tuples.
|
void |
emitDirect(int taskId,
java.lang.String streamId,
java.util.Collection<Tuple> anchors,
java.util.List<java.lang.Object> tuple) |
void |
fail(Tuple input) |
void |
reportError(java.lang.Throwable error) |
emit, emit, emit, emit, emit, emitDirect, emitDirect, emitDirect, emitDirect, emitDirect
public OutputCollectorImpl(OutputCollector delegate)
public java.util.List<java.lang.Integer> emit(java.lang.String streamId, java.util.Collection<Tuple> anchors, java.util.List<java.lang.Object> tuple)
IOutputCollector
emit
in interface IOutputCollector
emit
in class OutputCollector
public void emitDirect(int taskId, java.lang.String streamId, java.util.Collection<Tuple> anchors, java.util.List<java.lang.Object> tuple)
emitDirect
in interface IOutputCollector
emitDirect
in class OutputCollector
public void ack(Tuple input)
ack
in interface IOutputCollector
ack
in class OutputCollector
public void fail(Tuple input)
fail
in interface IOutputCollector
fail
in class OutputCollector
public void reportError(java.lang.Throwable error)
reportError
in interface IErrorReporter
reportError
in class OutputCollector