backtype.storm.task
Interface IOutputCollector
- All Superinterfaces:
- IErrorReporter
- All Known Implementing Classes:
- CoordinatedBolt.CoordinatedOutputCollector, OutputCollector, TridentBoltExecutor.CoordinatedOutputCollector
public interface IOutputCollector
- extends IErrorReporter
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)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.