public class BasicOutputCollector extends java.lang.Object implements IBasicOutputCollector
Constructor and Description |
---|
BasicOutputCollector(OutputCollector outputCollector,
java.lang.String defaultEdge) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
emit(java.util.List<java.lang.Object> tuple) |
java.util.List<java.lang.Integer> |
emit(java.lang.String streamId,
java.util.List<java.lang.Object> tuple) |
void |
emitDirect(int taskId,
java.lang.String streamId,
java.util.List<java.lang.Object> tuple) |
void |
reportError(java.lang.Throwable t) |
public BasicOutputCollector(OutputCollector outputCollector, java.lang.String defaultEdge)
public java.util.List<java.lang.Integer> emit(java.util.List<java.lang.Object> tuple)
public java.util.List<java.lang.Integer> emit(java.lang.String streamId, java.util.List<java.lang.Object> tuple)
emit
in interface IBasicOutputCollector
public void emitDirect(int taskId, java.lang.String streamId, java.util.List<java.lang.Object> tuple)
emitDirect
in interface IBasicOutputCollector
public void reportError(java.lang.Throwable t)
reportError
in interface IBasicOutputCollector