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