Package org.apache.heron.api.bolt
Interface IOutputCollector
-
- All Superinterfaces:
IErrorReporter
- All Known Implementing Classes:
OutputCollector
public interface IOutputCollector extends IErrorReporter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidack(Tuple input)List<Integer>emit(String streamId, Collection<Tuple> anchors, List<Object> tuple)Returns the task ids that received the tuples.voidemitDirect(int taskId, String streamId, Collection<Tuple> anchors, List<Object> tuple)voidfail(Tuple input)-
Methods inherited from interface org.apache.heron.api.bolt.IErrorReporter
reportError
-
-
-
-
Method Detail
-
emit
List<Integer> emit(String streamId, Collection<Tuple> anchors, List<Object> tuple)
Returns the task ids that received the tuples.
-
emitDirect
void emitDirect(int taskId, String streamId, Collection<Tuple> anchors, List<Object> tuple)
-
ack
void ack(Tuple input)
-
fail
void fail(Tuple input)
-
-