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