backtype.storm.task
Interface IOutputCollector

All Superinterfaces:
IErrorReporter
All Known Implementing Classes:
CoordinatedBolt.CoordinatedOutputCollector, OutputCollector, TridentBoltExecutor.CoordinatedOutputCollector

public interface IOutputCollector
extends IErrorReporter


Method Summary
 void ack(Tuple input)
           
 List<Integer> emit(String streamId, Collection<Tuple> anchors, List<Object> tuple)
          Returns the task ids that received the tuples.
 void emitDirect(int taskId, String streamId, Collection<Tuple> anchors, List<Object> tuple)
           
 void fail(Tuple input)
           
 
Methods inherited from interface backtype.storm.task.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)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.