public class BasicOutputCollector extends java.lang.Object implements IBasicOutputCollector
Constructor and Description |
---|
BasicOutputCollector(OutputCollector out) |
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.util.List<java.lang.Object> tuple) |
void |
emitDirect(int taskId,
java.lang.String streamId,
java.util.List<java.lang.Object> tuple) |
protected IOutputCollector |
getOutputter() |
void |
reportError(java.lang.Throwable t) |
void |
setContext(Tuple anInputTuple) |
public BasicOutputCollector(OutputCollector out)
public java.util.List<java.lang.Integer> emit(java.lang.String streamId, java.util.List<java.lang.Object> tuple)
emit
in interface IBasicOutputCollector
public java.util.List<java.lang.Integer> emit(java.util.List<java.lang.Object> tuple)
public void setContext(Tuple anInputTuple)
public void emitDirect(int taskId, java.lang.String streamId, java.util.List<java.lang.Object> tuple)
emitDirect
in interface IBasicOutputCollector
public void emitDirect(int taskId, java.util.List<java.lang.Object> tuple)
protected IOutputCollector getOutputter()
public void reportError(java.lang.Throwable t)
reportError
in interface IBasicOutputCollector