public class GatherFlatMapCompute<O,I> extends java.lang.Object implements ComputeCollectorFunc<O,java.util.Iterator<Tuple<java.lang.Integer,I>>>
Constructor and Description |
---|
GatherFlatMapCompute(FlatMapFunc<O,I> mapFunction) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
compute(java.util.Iterator<Tuple<java.lang.Integer,I>> input,
RecordCollector<O> output) |
void |
prepare(TSetContext context)
Prepare the function.
|
public GatherFlatMapCompute(FlatMapFunc<O,I> mapFunction)
public void prepare(TSetContext context)
TFunction
public void compute(java.util.Iterator<Tuple<java.lang.Integer,I>> input, RecordCollector<O> output)
compute
in interface ComputeCollectorFunc<O,java.util.Iterator<Tuple<java.lang.Integer,I>>>